From 641e5ebbda682a6df6f84a4627e3728dbcef3683 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 3 Oct 2021 13:44:15 +0300 Subject: [PATCH] Remove unused world_halfway_dir variable from common.glsl --- shaderlib/common.glsl | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.45.2