Schmidt, Michael M wrote:
Hi,
I was trying to use gl_SecondaryColor to pass in a vertex position offset. However, I noticed strange behavior. Does anyone know if gl_SecondaryColor gets clamped to some value?

Based on your code, why not declare:

attribute vec4 centerPoint;

in your shader and use it that way?

--"J"

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

Reply via email to