]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove unused world_halfway_dir variable from common.glsl
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 10:44:15 +0000 (13:44 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 10:45:02 +0000 (13:45 +0300)
shaderlib/common.glsl

index 1d5819a1bfc812648cfb800587b5071ab776bd72..dd8ac11f2564642078f9360aef97317e79b07497 100644 (file)
@@ -52,8 +52,6 @@ void standard_transform()
 
        out vec3 world_light_dir = light_sources[0].position.xyz-world_vertex.xyz*light_sources[0].position.w;
 
-       out vec3 world_halfway_dir = normalize(world_light_dir-world_look_dir);
-
        out float fog_coord = eye_vertex.z;
 
        if(use_clipping)