DonkeyKong64 grind crash
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_menu.fs
1 out vec4 FragColor;
2
3 uniform sampler2D uTexMain;
4 uniform vec4 uColour;
5
6 in vec4 aColour;
7 in vec2 aUv;
8 in vec3 aNorm;
9 in vec3 aCo;
10
11 void main()
12 {
13 vec4 diffuse = texture( uTexMain, aUv );
14
15 if( diffuse.a < 0.5 )
16 discard;
17
18 FragColor = vec4( diffuse.rgb, 1.0 ) * uColour;
19 }