MOV result.color, test1; # Example 1
MOV result.color, test2; # Example 2
ARB_fp:
MOV result.color, fragment.color;
Now, whenever I write to ARB_vp result.color with vertex attribues, everything goes well (example 1). But whenever I try to use a PARAM (example 2), I get a static color that changes when I rotate the world (result undefined?).
Does anybody have any idea what the problem might be, I’ve search the extension spec and search this forum’s archive, but it’s getting really frustrating…
Could you provide more information on your computer? Card, OS etc. I never had anything like that with my 52.16(GF5600 on XP). Try using earlier driver. Maybe your card is somehow damaged
Ok, found the problem, could be a bug, would be nice to get some comments from nvida guys…
I used drivers 52.16 on a Geforce FX 5900 card.
The problem occurred when I used OPTION ARB_position_invariant, when I removed this, everything worked fine.
So, once again, the symptom:
When using pos_invariant, only the vertex attributes could be written to the result registers.
Whenever I tried a constant, i.e.
PARAM test = { 1,1,1,1 }; or
PARAM testL = program.local[0];
or a temporary i.e.
TEMP test2;
MOV test2, {1,1,1,1};
these values wasn’t written to the result registers correctly.