baby lock the door and turn the lights down low
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_standard.fs
index 0675bff71f2a85046e430cb7e1e9b3c3dcfcebb9..7fcf1d5e03777e8b99b44f4b810bffa262cbbe05 100644 (file)
@@ -5,12 +5,6 @@ uniform vec4 uPlane;
 uniform vec3 uBoard0;
 uniform vec3 uBoard1;
 
-in vec2 aUv;
-in vec4 aNorm;
-in vec3 aCo;
-in vec3 aWorldCo;
-flat in ivec4 aLights;
-
 #include "common_scene.glsl"
 #include "motion_vectors_fs.glsl"
 
@@ -29,6 +23,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 );
 }