From 4d62a6d631fb9703d818654c5b9722e747cfe190 Mon Sep 17 00:00:00 2001 From: Joshua Rahm Date: Tue, 22 Apr 2014 21:55:34 -0600 Subject: fixed most uniforms --- shaders/basic.frag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shaders/basic.frag') 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 ; -- cgit