mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
12 lines
225 B
Plaintext
12 lines
225 B
Plaintext
float4 main
|
|
(
|
|
uniform sampler2D tex,
|
|
float4 out_color : COLOR,
|
|
float2 out_texcoord : TEXCOORD0
|
|
) : COLOR
|
|
{
|
|
float4 color = tex2D(tex, out_texcoord) * out_color;
|
|
|
|
if (color.a < 0.5) discard;
|
|
return color;
|
|
} |