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"