projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send player region
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
scene_terrain.fs
diff --git
a/shaders/scene_terrain.fs
b/shaders/scene_terrain.fs
index 7f7648a045a5c8a90eb1a97207917039de294cce..a1feb1a3be500a9141925bc3e62ce509d9367ab0 100644
(file)
--- a/
shaders/scene_terrain.fs
+++ b/
shaders/scene_terrain.fs
@@
-3,14
+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;
-
-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"
#include "common_scene.glsl"
#include "motion_vectors_fs.glsl"
@@
-52,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);
}