WPOS semantic
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
Popular Topics
Advertisement