World coordinates from Color value returned

Dear shader programmers,

Can I get the world xyz position(not screen cooridinates) of the pixels through pixel shader.

With regards

Not automatically. But you can just pass it from the vertex shader in a varying variable.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.