mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 10:05:44 -04:00
13 lines
195 B
Plaintext
13 lines
195 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;
|
|
}
|