[osg-users] setTexCoordPointer

2008-02-26 Thread Kremser, Andreas (Praktikant)
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);

Re: [osg-users] setTexCoordPointer

2008-02-26 Thread Paul Martz
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