On 3/23/2011 3:37 PM, Simon Kolciter wrote:
Ok, no access to the whole geometry in geometry shader.

However, since you can access to gl_Position of every vertex for a given 
primitive, can't you also access gl_Normal of these vertices?

Accessing gl_Normal only makes sense if you've provided the normals to GL/OSG along with the vertex positions. I thought you didn't have the normals (which is why you needed to calculate them in the first place).

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

Reply via email to