1 uniform sampler2D uTexMain;
10 #include "common_world.glsl"
11 #include "motion_vectors_fs.glsl"
15 compute_motion_vectors();
17 vec3 qnorm = normalize(floor(aNorm*2.0)*0.5) + vec3(0.001,0.0,0.0);
18 vec3 diffuse = texture( uTexMain, aUv ).rgb;
19 vec3 composite = world_compute_lighting( diffuse, qnorm, aWorldCo, 1.0 );
21 oColour = vec4( composite, 1.0 );