water fog material prop; ragdoll float only on drowned
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_font.fs
index 31e4e8dd39b6e9fe0a1d3ff6e2f5f0cdc33cce9d..fa8c6e78b89ad2815bb085763135c80753153639 100644 (file)
@@ -1,17 +1,17 @@
-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"
+#include "depth_compare.glsl"
 
-void main()
-{
+void main(){
+   depth_compare_dither();
    compute_motion_vectors();
-   FragColor = texture( uTexMain, aUv ) * uColour;
+   oColour = texture( uTexMain, aUv ) * uColour;
 }