[osg-users] OSG uniforms in GLSL shaders
himarcarmona at gmail.com
Sun Nov 1 01:55:30 PST 2009
how can i use the uniform osg_ViewMatrixInverse in my shaders? My shader
compiles fine, but it seems i have the view inverse matrix wrong. I'm not
sure if OSG is initializing this uniform for me at runtime. In fact, i don't
know exactly what i have to take into account to use it. Can anyone give me
some hints regarding its (recommended) use?
Thanks and best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users