[osg-users] Transform matrix as Uniform to shaders

Nikolai Christensen emptyyetfull at gmail.com
Wed Oct 4 21:19:44 PDT 2017


Hi,

I need a matrix for the transform from root scene node to the node where the mesh the shaders currently are operating on is in.

Does OSG pass such a matrix automatically to the shaders?
If yes, is there other uniforms passed and is there a list of them somewhere?

Sorry if my question is dumb, I am new to shaders.

Thank you!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72103#72103







More information about the osg-users mailing list