The problem is whenever I try to use 
    gc->getState()->setUseModelViewAndProjectionUniforms(true);
    gc->getState()->setUseVertexAttributeAliasing(true); 
it always seems to screw up something, like the precipitation or particle 
effects.

I figure if there is a way I can set the projection matrices etc to new 
variables, instead of overwriting existing gl_whatever variables in shaders, 
then I can supply my shaders with the data they need without affecting anything 
else.

------------------------
http://www.hrwallingford.com/facilities/ship-simulation-centre 
(http://www.hrwallingford.com/facilities/ship-simulation-centre)

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





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

Reply via email to