But under OpenGL Shader Language (GL_ARB_shader_objects/GL_ARB_vertex_shader/GL_ARB_shading_language_100)
There is no equivalent (Just the ‘attribute vec3’)
Is someone tried to use Vertex Array Attrib in a OpenGL 2.0 code ?
But how to initialise the handle ‘tex0’ ?
Must be done by the code ?
or can I write tex0 = 0 ?
The texture2D and the sample2D documentation is a bit fuzzy about that
At least, I have my object rendering, with the normal colors, but no texture.
Also last thing, calling
glUniform4fARB each frame for updating an uniform vec4 constant seems make glError() returning an ‘illegal operation’. Is the correct way to do that. (i’ve also noticed that calling glUseProgramObjectARB is required prior using glUniformARB).