Quote:

hlsl or asm?

I tried to write it into the masked environment mapping ffp of Steempipe, and got one error message after another.




Does this look like asm to you
Well, I guess you're still new to shaders aren't you.

Quote:

OUT.eyeVector = worldPos - ViewIT[3];





It's HLSL.

You won't be able to do this in Steempipes env_masked ffp because it's not written in HLSL or ASM. His ffp env_mask shader uses the Fixed-Function Pipeline.