1 layout (location = 0) out vec4 oColour;
5 #include "motion_vectors_fs.glsl"
8 compute_motion_vectors();
10 vec2 ssuv = gl_FragCoord.xy;
11 vec3 vDither = vec3( dot( vec2( 171.0, 231.0 ), ssuv) );
12 float dither = fract( vDither.g / 71.0 ) - 0.5;
14 if( aAlpha+dither<0.5 )
17 oColour = vec4( uColour.rgb, uColour.a * aAlpha );