projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix again
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
scene_terrain.fs
diff --git
a/shaders/scene_terrain.fs
b/shaders/scene_terrain.fs
index 2bc265f1b3b7b2726e628193e7438a22e84d0e5c..a1feb1a3be500a9141925bc3e62ce509d9367ab0 100644
(file)
--- a/
shaders/scene_terrain.fs
+++ b/
shaders/scene_terrain.fs
@@
-3,8
+3,6
@@
uniform sampler2D uTexGradients;
uniform vec3 uCamera;
uniform vec3 uSandColour;
uniform vec2 uBlendOffset;
uniform vec3 uCamera;
uniform vec3 uSandColour;
uniform vec2 uBlendOffset;
-uniform vec3 uBoard0;
-uniform vec3 uBoard1;
#include "common_scene.glsl"
#include "motion_vectors_fs.glsl"
#include "common_scene.glsl"
#include "motion_vectors_fs.glsl"
@@
-46,6
+44,6
@@
void main()
vfrag = vec3(0.5);
}
vfrag = vec3(0.5);
}
- vfrag = scene_
do_lighting( vfrag, qnorm
);
+ vfrag = scene_
compute_lighting( vfrag, qnorm, aWorldCo
);
oColour = vec4(vfrag, 1.0);
}
oColour = vec4(vfrag, 1.0);
}