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