From: Mikko Rasa Date: Thu, 4 Mar 2021 11:20:53 +0000 (+0200) Subject: Remove a redundant declaration of shadow_coord X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=0cea0aae93068b66490797ff0884db74f063542a Remove a redundant declaration of shadow_coord This is declared in shadow.glsl --- diff --git a/shaderlib/common.glsl b/shaderlib/common.glsl index 5c10d06f..bac82fc1 100644 --- a/shaderlib/common.glsl +++ b/shaderlib/common.glsl @@ -44,7 +44,6 @@ void standard_transform() out vec3 tbn_halfway_dir = eye_halfway_dir*eye_tbn_matrix; out vec3 tbn_zenith_dir = eye_zenith_dir*eye_tbn_matrix; - out vec3 shadow_coord = (shd_eye_matrix*eye_vertex).xyz; out float fog_coord = eye_vertex.z; for(int i=0; i