projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added linear interpolation in image to use it at the terrain generation
[demo]
/
gl_shaders
/
default.v.glsl
diff --git
a/gl_shaders/default.v.glsl
b/gl_shaders/default.v.glsl
index
2876699
..
38a19a4
100644
(file)
--- a/
gl_shaders/default.v.glsl
+++ b/
gl_shaders/default.v.glsl
@@
-9,7
+9,7
@@
varying vec3 normal;
varying vec3 ldir;
varying vec2 tex_coord;
-const vec3 lpos = vec3(50.0, 50.0, -200.0);
+const vec3 lpos = vec3(-10.0, 100.0, 10.0);
/* attributes */
layout(location = 1) in vec3 attr_pos;