summary refs log tree commit diff
path: root/misc/vita/textured_alpha_f.cg
blob: cc04854ce78188af5a6ae9747163d4dd1c0eb9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}