On 01/10/2012 04:39 PM, Paul Martz wrote:
Other sections too, 3.10.1 for example. Try searching the spec for "centroid" or "noperspective"; information on shader variable interpolation is scattered around in several places.I'd think simple linear interpolation could be accomplished using the noperspective qualifier: noperspective out vec3 eyeCoord; // for example ...but I haven't played with this. You might consider searching/posting at the opengl.org discussion boards.
Good call, Paul. I don't remember hearing about the interpolation qualifiers. Those are covered in section 4.5 of the GLSL spec...
http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.clean.pdf --"J" _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

