PDA

View Full Version : vertex shader texture image units



jide
03-28-2006, 01:01 PM
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.

jra101
03-28-2006, 02:40 PM
Vertex textures are not supported on GeForce FX GPUs.

jide
03-28-2006, 05:04 PM
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 ?

Komat
03-28-2006, 05:24 PM
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 (http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_shader.txt) 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.

jide
03-29-2006, 02:11 AM
Thanks, I didn't have noticed it in the specs. I'll read it again.