[osg-users] Shaders with multiple views, possible?

Julien Valentin julienvalentin51 at gmail.com
Mon Jan 22 06:15:08 PST 2018

Hi Antoine

Reasons are undertandables through osg adaptation to across openGL history/evolution:

In OpenGL2 there were builtins gl_XXX, in OpenGL3 these builtins have been removed. To make this evolution seamless osg brough you the osg_XXX uniforms that should be use if you're planning to deploy on GL3 core profile.


arennuit wrote:
> Hello Robert,
> Actually I don't get why OSG doubles the gl predefined variables gl_ModelViewMatrix, gl_ModelViewProjectionMatrix... with osg equivalents. Aren't the gl ones good enough?
> Kind regards,
> Antoine.

Read this topic online here:

More information about the osg-users mailing list