I'm pretty sure it's possible but i have no idea how.
Could anyone tell me how to make a custom semantic for a pixel shader.
Thanks
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityI'm pretty sure it's possible but i have no idea how.
Could anyone tell me how to make a custom semantic for a pixel shader.
Thanks
Typically, you just use TEXCOORD
for any data that DX doesn't understand.
http://msdn.microsoft.com/en-us/library/bb509647(VS.85).aspx
This page suggests that the system doesn't give a crap, effectively, what semantics you give to your pixel shader inputs.
TEXCOORD
. semantics.
\$\endgroup\$