input update 1
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_terrain.fs
index 2bc265f1b3b7b2726e628193e7438a22e84d0e5c..a1feb1a3be500a9141925bc3e62ce509d9367ab0 100644 (file)
@@ -3,8 +3,6 @@ uniform sampler2D uTexGradients;
 uniform vec3 uCamera;
 uniform vec3 uSandColour;
 uniform vec2 uBlendOffset;
-uniform vec3 uBoard0;
-uniform vec3 uBoard1;
 
 #include "common_scene.glsl"
 #include "motion_vectors_fs.glsl"
@@ -46,6 +44,6 @@ void main()
       vfrag = vec3(0.5);
    }
 
-   vfrag = scene_do_lighting( vfrag, qnorm );
+   vfrag = scene_compute_lighting( vfrag, qnorm, aWorldCo );
    oColour = vec4(vfrag, 1.0);
 }