From bc04989448418044d90c4aefd312139b87922687 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 17 Jun 2016 00:20:53 +0200 Subject: [PATCH] Remove unused uniforms --- files/shaders/objects_fragment.glsl | 4 ---- files/shaders/terrain_fragment.glsl | 4 ---- 2 files changed, 8 deletions(-) diff --git a/files/shaders/objects_fragment.glsl b/files/shaders/objects_fragment.glsl index ac8c2d591..b3a0150af 100644 --- a/files/shaders/objects_fragment.glsl +++ b/files/shaders/objects_fragment.glsl @@ -54,10 +54,6 @@ varying vec4 passColor; varying vec3 passViewPos; varying vec3 passNormal; -#if @parallax -uniform mat4 osg_ViewMatrixInverse; -#endif - #include "lighting.glsl" #include "parallax.glsl" diff --git a/files/shaders/terrain_fragment.glsl b/files/shaders/terrain_fragment.glsl index 0995a2d44..134e838c0 100644 --- a/files/shaders/terrain_fragment.glsl +++ b/files/shaders/terrain_fragment.glsl @@ -24,10 +24,6 @@ varying vec4 passColor; varying vec3 passViewPos; varying vec3 passNormal; -#if @parallax -uniform mat4 osg_ViewMatrixInverse; -#endif - #include "lighting.glsl" #include "parallax.glsl"