1 uniform sampler2D uTexMain;
4 #include "common_scene.glsl"
5 #include "motion_vectors_fs.glsl"
8 oMotionVec = vec2(0.0);
10 vec4 vsamplemain = texture( uTexMain, aUv );
12 vec2 ssuv = gl_FragCoord.xy;
13 vec3 vDither = vec3( dot( vec2( 171.0, 231.0 ), ssuv) );
14 float dither = fract( vDither.g / 71.0 ) - 0.5;
16 if( vsamplemain.a+dither<0.5 )
19 oColour = vec4( vsamplemain.rgb, 1.0 );