Hello, I need some help.
Someone send me a shader but when I build it, I’ve got some errors like :
Cg in program 'frag': error C5108: unknown semantics "SV_POSITION" specified for "pos" at line 66
Syntax error : ZWrite at line 121
I’ve checked the shader and it seems correct. Do you know what it doesn’t work ?
Edit: When I replace SV_POSITION by POSITION, it works. Is there a problem with the version of the shader ?