Sampler2D s2D;
Float4 Common (float2 Coord: TEXCOORD, float4 Color: Color) : Color
{
Return tex2D (s2D, Coord) * Color;
}
The above code, when choosing compiler for ps2.0 Coord is normal, but if the compiled into 3.0, Coord always is zero, a great god knows what reason be?
CodePudding user response:
There is no set the texture coordinates in creating model,CodePudding user response:
DX9 above win10 all debugging