Effect framework: Difference between revisions

Added non effect uniforms (some of them)
m (syntax for xml)
(Added non effect uniforms (some of them))
Line 224: Line 224:
value 6 and my_tangent_attribute has index 6, my_tangent_attribute  
value 6 and my_tangent_attribute has index 6, my_tangent_attribute  
holds the tangent value for the vertex.
holds the tangent value for the vertex.
=Uniforms passed to shaders outside the xml effect framework=
mat4 osg_ViewMatrixInverse
mat4 osg_ViewMatrix
vec2 fg_BufferSize
float osg_SimulationTime
574

edits