Skip to main content
gamedev.net
🔒 Locked

WPOS semantic

Started by absriram Nov 17, 2004 at 4:52 PM 0 replies 950+ views
Original Post
absriram
absriram
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.