WPOS semantic

Started by
-1 comments, last by absriram 19 years, 5 months ago
Hi All, If i use wpos as an input parameter to a fragment shader, which position does it denote? Is it the position of the fragment? I want to set the output color of each fragment according to its depth. How can I do it? I am using arbvp1 vertex profile and arbfp1 fragment profile. Thank you. Sriram

This topic is closed to new replies.

Advertisement