mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 01:21:57 -05:00
12 lines
195 B
Text
12 lines
195 B
Text
struct vOut {
|
|
float4 color : COLOR;
|
|
float2 tex0 : TEXCOORD0;
|
|
};
|
|
|
|
float4 main(
|
|
vOut input,
|
|
uniform sampler2D tex
|
|
) : COLOR
|
|
{
|
|
return tex2D(tex, input.tex0.xy) * input.color;
|
|
}
|