13 lines
183 B
Plaintext
13 lines
183 B
Plaintext
struct vOut {
|
|
float4 color : COLOR;
|
|
float2 tex0 : TEXCOORD0;
|
|
};
|
|
|
|
float4 main(
|
|
vOut input,
|
|
uniform sampler2D tex
|
|
) : COLOR
|
|
{
|
|
return tex2D(tex, input.tex0.xy) * input.color;
|
|
}
|