vertex shader texture image units

A call to “glGetIntegerv (GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB, &max_vertex_shader_texture_units)” gives me 0.

What does that exactly mean ? I don’t support SM 3 (it seems only since geforce 6). Is there anyway to counterpass this ?

I have a geforce FX.

Vertex textures are not supported on GeForce FX GPUs.

Yes that was I was thinking, so thanks for your reply. But I was maybe mis-writting what I would like to meant. I’m so in a hurry each time I write…

So my first question was: What does that extension exactly mean ? Where can I find information about vertex texture image units ?

And my second question is: Is there any way to fake this extension ?

Originally posted by jide:

So my first question was: What does that extension exactly mean ? Where can I find information about vertex texture image units ?

It means number of texture image units that are available to vertex shader based on GL_ARB_vertex_shader extension where you can find more informations.


And my second question is: Is there any way to fake this extension ?

I am not aware of easy way to emulate this functionality.

Thanks, I didn’t have noticed it in the specs. I’ll read it again.