Hi,
i experiment with HSLS and got an error when try to change Tex-Coordinates:
float4 MyShader( MYSHADER_PS_IN In) : COLOR
{
float4 color;
float4 shadow;
In.Tex0.y = In.Tex0.y * 0.5; // <- MAKES ERROR
color = tex2D( sblock, In.Tex0.xy);
shadow = tex2D( sshadow, In.Tex1.xy);
color = color * shadow;
return color;
}
Is that not possible?