X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene_standard.fs;h=58a472da906bf048d8cd1d2def94d505d4894910;hb=137d40d96fe923600d8378b8e138e3c276f27ff4;hp=a45ee541193127e366081eea0f808707bbf24312;hpb=409edea2cf6271956137918e4e0b4f1c2addf620;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene_standard.fs b/shaders/scene_standard.fs index a45ee54..58a472d 100644 --- a/shaders/scene_standard.fs +++ b/shaders/scene_standard.fs @@ -2,8 +2,6 @@ uniform sampler2D uTexGarbage; uniform sampler2D uTexMain; uniform vec3 uCamera; uniform vec4 uPlane; -uniform vec3 uBoard0; -uniform vec3 uBoard1; #include "common_scene.glsl" #include "motion_vectors_fs.glsl" @@ -23,6 +21,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 ); }