From: Mikko Rasa Date: Sun, 3 Oct 2021 10:44:15 +0000 (+0300) Subject: Remove unused world_halfway_dir variable from common.glsl X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=641e5ebbda682a6df6f84a4627e3728dbcef3683;p=libs%2Fgl.git Remove unused world_halfway_dir variable from common.glsl --- diff --git a/shaderlib/common.glsl b/shaderlib/common.glsl index 1d5819a1..dd8ac11f 100644 --- a/shaderlib/common.glsl +++ b/shaderlib/common.glsl @@ -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)