, 2007 4:11 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Vertex Shader Attributes
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
Hi Michael,
On Dec 11, 2007 2:06 PM, Schmidt, Michael M [EMAIL PROTECTED] wrote:
I declared the attribute exactly as you wrote. I figured out that it was
crashing because I still had a left-over geom-setSecondaryColorArray(new
osg::Vec4Array); I didn't populate the array, so the crash
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
3 matches
Mail list logo