diff options
Diffstat (limited to 'vert.glsl')
-rw-r--r-- | vert.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ uniform mat4 proj; void main() { - vec3 light = { 1.2, 1.0, 2.0 }; + 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)); |