menu upgrades
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_font.fs
index 673238c39417885bb90baa8822d299437d34a9e6..d0d285106708153a6d4552d5a0ef0a9c4efdca5e 100644 (file)
@@ -1,11 +1,10 @@
-out vec4 FragColor;
+layout (location = 0) out vec4 oColour;
 
 uniform sampler2D uTexMain;
 uniform vec4 uColour;
 
-in vec4 aColour;
 in vec2 aUv;
-in vec3 aNorm;
+in vec4 aNorm;
 in vec3 aCo;
 
 #include "motion_vectors_fs.glsl"
@@ -13,6 +12,5 @@ in vec3 aCo;
 void main()
 {
    compute_motion_vectors();
-   vec4 diffuse = texture( uTexMain, aUv );
-   FragColor = vec4( diffuse.rgb, 1.0 ) * uColour;
+   oColour = texture( uTexMain, aUv ) * uColour;
 }