I've been trying to migrate my shaders to OpenGL 4.1.
What is the alternative to the fixed pipeline code, of the vertex shader:
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
gl_Position = ftransform();
I know I have ot create my own out vector, like "out vec4 texcoord", but
where do I get OSG's View, Model, etc matrices?
Thanks
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org