Would a #define in the shader source be a solution for you?
   -Paul


On 3/12/2012 9:06 AM, John Kaniarz wrote:
So I've converted Philip Rideout's tesselation demo to OpenScenegraph. But I'm 
still using the osg_Vertex, osg_ModelViewMatirx, etc. variables. I'm still 
looking for a way to use my own variable names. Is this even possible? Do I 
need to use a node visitor and set the Uniforms manually?

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to