aboutsummaryrefslogtreecommitdiffstats
path: root/vert.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'vert.glsl')
-rw-r--r--vert.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/vert.glsl b/vert.glsl
index 9fea064..19469a4 100644
--- a/vert.glsl
+++ b/vert.glsl
@@ -15,11 +15,10 @@ out vec3 lipos;
uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
+uniform vec3 light;
void main()
{
- vec3 light = vec3(1.2, 1.0, 2.0);
-
gl_Position = proj * view * model * vec4(pos, 1.0);
fpos = vec3(view * model * vec4(pos, 1.0));
fuv = uv;