I succeeded in compiling the nvidia demo for hardware assisted rendering of ...
There is a slight problem since the "good" image doesn't look right. Then I notice, the console displaying an error message.
"Shader Stage 3 is inconsistent!"
The code that generates this is
glGetTexEnviv(GL_TEXTURE_SHADER_NV, GL_SHADER_CONSISTENT_NV, &consistent);
if(consistent == GL_FALSE)
cerr << "Shader stage 3 is inconsistent!" << endl;
I haven't completly absorbed the code and the technic behind it but I dont think this error should be occuring.
Can someone enlighten me about the error message. Why it occurs.
I have emulation turned on because I dont have support for NV_texture_shader (and a few others) on my Gf2.
Another question. Has this method been implemented on ATI based cards?
The NV texture_shader has a special operation that overides the GL pipeline for computing and writing the z fragment, if I understood correctly. How can the same be acheived on ATI?
[This message has been edited by V-man (edited 01-13-2003).]