edf
11-24-2005, 11:36 AM
Hi,
I'm trying to make my depth peeling works on ATI hardware. It works on nvidia cards. My depth texture uses COMPARE_R_TO_TEXTURE_ARB set to GL_GREATER and in the fragment I do:
TEX tmp, fragment.position, texture[0], SHADOWRECT;
ADD tmp.w, tmp.w, -0.5;
KIL tmp.w;
...
Is there anything which prevents this to work on ATI?
(Tested on X800 and X600)
Thank you.
I'm trying to make my depth peeling works on ATI hardware. It works on nvidia cards. My depth texture uses COMPARE_R_TO_TEXTURE_ARB set to GL_GREATER and in the fragment I do:
TEX tmp, fragment.position, texture[0], SHADOWRECT;
ADD tmp.w, tmp.w, -0.5;
KIL tmp.w;
...
Is there anything which prevents this to work on ATI?
(Tested on X800 and X600)
Thank you.