@Dom_DiMaggio wrote:
sample s0;
float4 BackgroundShift(float4 pos : SV_POSITION, float4 color1 : COLOR0, float2 texCoord : TEXCOORD0) : SV_POSITION0
{
return pos;
}
technique Technique1
{
pass Pass1
{
PixelShader = compile ps_5_0 BackgroundShift();
}
}
I get an error: "invalid ps_5_0 output semantic 'SV_POSITION0'".
SV_TARGET0 works for color modifications so why can't I modify position?
Posts: 1
Participants: 1