X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene_vertex_blend.fs;h=0368b20a5fab902e288202c9ac8653d8ce12feab;hb=b3ca3b7a45eec11c46eb19772e10021177665adb;hp=86466d0b5e410a280e919fe49b9aaaacc29936a4;hpb=aa4c26eae2208872824e0eb5b71bc05c16d43242;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene_vertex_blend.fs b/shaders/scene_vertex_blend.fs index 86466d0..0368b20 100644 --- a/shaders/scene_vertex_blend.fs +++ b/shaders/scene_vertex_blend.fs @@ -1,14 +1,6 @@ uniform sampler2D uTexGarbage; uniform sampler2D uTexGradients; uniform vec3 uCamera; -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" @@ -46,6 +38,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); }