]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove a redundant declaration of shadow_coord
authorMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 11:20:53 +0000 (13:20 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 4 Mar 2021 15:32:05 +0000 (17:32 +0200)
This is declared in shadow.glsl

shaderlib/common.glsl

index 5c10d06fbcac31a5fd9c06f5e37293ea406c2203..bac82fc131150bf0895db30d975c71cb398ae56d 100644 (file)
@@ -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<max_clip_planes; ++i)