hi,
what does the first parameter=unit in state.setTexCoordPointer mean?
the documentation just tells me its called unit ;)
is this
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glTexCoordPointer(2,GL_FLOAT,0,texCoordArray);
the same as
_state.setTexCoordPointer(0,2,GL_FLOAT,0,texCoordArray);
hi,
what does the first parameter=unit in state.setTexCoordPointer mean?
the documentation just tells me its called unit ;)
It's the texture unit for multitexturing.
Sounds like you didn't read the OSG Quick Start Guide.
http://www.lulu.com/content/767629
Hope that helps,
Paul Martz
Skew
2 matches
Mail list logo