sqrt[-1]
05-22-2005, 11:43 PM
I have two programs (1 ARB VP, 1 ARB FP) where I am writting the fogcoord in the vetex program and using the OPTION ARB_fog_exp2 in the fragment program. (with supplying the fixed function values)
I am having trouble on ATI (X800 Cat 5.5 on winXP) in a large program where the fog was not showing up. I tracked this down, and found that if I enabled fixed function fog before I compile the vertex program, it works.
I an guessing that perhaps the ATI driver is seeing that the fog coordinate is not used when compiled (as fog is not enabled and no fragment program is enabled) and it is optimizing it out.
However, I am having trouble creating a stand alone test app with the same problems. I am just wondering if anyone else has the same issue?
I am having trouble on ATI (X800 Cat 5.5 on winXP) in a large program where the fog was not showing up. I tracked this down, and found that if I enabled fixed function fog before I compile the vertex program, it works.
I an guessing that perhaps the ATI driver is seeing that the fog coordinate is not used when compiled (as fog is not enabled and no fragment program is enabled) and it is optimizing it out.
However, I am having trouble creating a stand alone test app with the same problems. I am just wondering if anyone else has the same issue?