model fmt & heisenbug
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / vg / character.fs.glsl
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 in float aOpacity;
11
12 void main()
13 {
14 vec3 diffuse = texture( uTexMain, aUv ).rgb;
15 FragColor = vec4(pow(diffuse,vec3(1.0)),aOpacity);
16 }