I am trying to debug an application where apparently a common uniform
value passed to 2 shaders is ending up differently. In order to both
confirm my suspicions and figure out where to go next, I thought I would
check to see what value the uniform is set to during the actual
drawImplementation of each object. I know you can use getUniformLocation
on the state you can extract from the RenderInfo, but I haven't figured
out how to actually get at the value itself. From what I can see in the
osg::State object is that there is a UniformStack, but I haven't been
able to find any info about what is actually in it. If anyone has any
ideas, it would be much appreciated. Thank you.

 

Karl

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to