diff options
author | Joshua Rahm <joshua.rahm@colorado.edu> | 2014-04-22 21:55:34 -0600 |
---|---|---|
committer | Joshua Rahm <joshua.rahm@colorado.edu> | 2014-04-22 21:55:34 -0600 |
commit | 4d62a6d631fb9703d818654c5b9722e747cfe190 (patch) | |
tree | 97104038db6cd8e3a13eb0e529975fd2edddc4ce /shaders/basic.frag | |
parent | 14b6f5cee8236f7c42065813c5dd6a659d4d5d65 (diff) | |
download | terralloc-4d62a6d631fb9703d818654c5b9722e747cfe190.tar.gz terralloc-4d62a6d631fb9703d818654c5b9722e747cfe190.tar.bz2 terralloc-4d62a6d631fb9703d818654c5b9722e747cfe190.zip |
fixed most uniforms
Diffstat (limited to 'shaders/basic.frag')
-rw-r--r-- | shaders/basic.frag | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/basic.frag b/shaders/basic.frag index 835efbf..a97caf8 100644 --- a/shaders/basic.frag +++ b/shaders/basic.frag @@ -3,8 +3,8 @@ #extension GL_ARB_explicit_uniform_location : enable layout(location = 0) out vec4 frag_color ; -layout(location = 6) uniform vec4 lightPos ; -layout(location = 8) uniform vec4 globalAmbient ; +uniform vec4 lightPos ; +uniform vec4 globalAmbient ; uniform float dX ; uniform float dY ; |