[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.
Cheers
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:
http://forum.openscenegraph.org/viewtopic.php?p=72828#72828
More information about the osg-users
mailing list