I found problem. HUD-Camera does not work when i create OpenGL 3.3 core
context. Only clear color is visible. If not create context, all is worked.
Code:
const int width(1920), height(1080);
const std::string version("3.3");
osg::ref_ptr< osg::GraphicsContext::Traits > traits = new
Hi, Robert.
All right, now i see. Probably, something wrong with my code.
I'm use new OSG 3.5.6, trying to port deferred renderer with light system to
OpenGL 3.3.
Thank you for your answer.
--
Read this topic online here:
HI Nickolai,
There are no differences between RTT setup in the OSG for GL2 and GL3,
or any other GL/GLES combinations for that matter. The osgprerender
or osgprerendercubemap examples are decent places to start to learn
what you need to do.
Robert.
On 23 May 2017 at 11:33, Nickolai Medvedev
Hi, community!
How to correctly create a render to texture in GL3 context?
What is the difference between RTT GL2 and GL3 in OSG.
Thank you!
Cheers,
Nickolai
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70962#70962
4 matches
Mail list logo