X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fstd_alphatest.fs;h=b0f18fd1db484d651a77685ac826543474ae6862;hb=f7db507815e2822d971031c30f25e02b45e9c914;hp=7881b51ed25153da52773c3f1a422920bc124c58;hpb=75703291fbf045008a3b1ebb20fc46a2617b6b3b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/std_alphatest.fs b/shaders/std_alphatest.fs index 7881b51..b0f18fd 100644 --- a/shaders/std_alphatest.fs +++ b/shaders/std_alphatest.fs @@ -1,5 +1,3 @@ -out vec4 FragColor; - uniform sampler2D uTexGarbage; uniform sampler2D uTexMain; uniform vec3 uCamera; @@ -12,9 +10,12 @@ in vec3 aCo; in vec3 aWorldCo; #include "common_world.glsl" +#include "motion_vectors_fs.glsl" void main() { + compute_motion_vectors(); + vec3 vfrag = vec3(0.5,0.5,0.5); vec4 vsamplemain = texture( uTexMain, aUv ); vec3 qnorm = normalize(aNorm); @@ -39,5 +40,5 @@ void main() vfrag = do_light_shadowing( vfrag ); vfrag = apply_fog( vfrag, fdist ); - FragColor = vec4(vfrag, 1.0); + oColour = vec4(vfrag, 1.0); }