X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_font.fs;h=fa8c6e78b89ad2815bb085763135c80753153639;hb=be5e25dee2c54c2a22ca3bbb5bbe0eb6149343be;hp=d2f1438d5701fd643ccce26b3df64c4b1b1d71b7;hpb=5bfb36032928ba9f8d12e72961af68bfab9ea648;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_font.fs b/shaders/model_font.fs index d2f1438..fa8c6e7 100644 --- a/shaders/model_font.fs +++ b/shaders/model_font.fs @@ -3,15 +3,15 @@ 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(); oColour = texture( uTexMain, aUv ) * uColour; }