14 years, 5 months ago
Highlights
14 years, 5 months ago
14 years, 5 months ago
Hello, Just checking if a function like glVertexAttrib3f() is meant to set the default value for an in attribute for a shader. For example, if I am drawing a cube which doesnt a…
14 years, 5 months ago
Hi, I have been attempting to replace all fixed functionality from an OpenGL project I wrote a while ago and have run into a snag which I havn't been able to resolve in the…
14 years, 6 months ago
Hmm, I dont think the code is quite right yet... The following is basically what I use. glGenBuffersARB(1, &texCoordBuffer); glBindBufferARB(GL_ARRAY_BUFFER_ARB, texCoordBuf…
14 years, 5 months ago
Latest Activity
See all in DiscussionsHello, Just checking if a function like glVertexAttrib3f() is meant to set the default value for an in attribute for …
14 years, 5 months ago
Hmm, I dont think the code is quite right yet... The following is basically what I use. glGenBuffersARB(1, &texCoordBuffer); glBindBufferARB(GL_ARRAY_BUFFER_ARB, …
14 years, 5 months ago
It should be:- //Model Vertices cordinates glBindBuffer(GL_ARRAY_BUFFER, vertexbuffer); glVertexAttribPointer(0, 0, GL_INT, GL_FALSE,0,0); //Model Texture cordinates glBindBuffer(GL_ARRAY_BUFFER, texc
14 years, 5 months ago