From 55d40245b4456ccf6a3f87ed488b0c5d05e54232 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Wed, 10 Oct 2018 23:24:48 +0100 Subject: Remove unused uniforms from atmospherics helper shaders. --- indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl | 2 -- indra/newview/app_settings/shaders/class2/windlight/transportF.glsl | 2 -- indra/newview/app_settings/shaders/class3/windlight/atmosphericsF.glsl | 2 -- indra/newview/app_settings/shaders/class3/windlight/transportF.glsl | 2 -- 4 files changed, 8 deletions(-) diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl index 4ec5691a85..770f9a5f4f 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl @@ -26,9 +26,7 @@ vec3 getAdditiveColor(); vec3 getAtmosAttenuation(); -uniform sampler2D cloudMap; uniform vec4 gamma; -uniform vec4 cloud_pos_density1; uniform vec4 lightnorm; uniform vec4 sunlight_color; uniform vec4 ambient; diff --git a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl index 9627642b9d..976e5066dc 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/transportF.glsl @@ -30,8 +30,6 @@ vec3 getAdditiveColor(); vec3 getAtmosAttenuation(); -uniform sampler2D cloudMap; -uniform vec4 cloud_pos_density1; uniform int no_atmo; vec3 atmosFragTransport(vec3 light, vec3 atten, vec3 additive) { diff --git a/indra/newview/app_settings/shaders/class3/windlight/atmosphericsF.glsl b/indra/newview/app_settings/shaders/class3/windlight/atmosphericsF.glsl index fee1a7f311..c809a41a0f 100644 --- a/indra/newview/app_settings/shaders/class3/windlight/atmosphericsF.glsl +++ b/indra/newview/app_settings/shaders/class3/windlight/atmosphericsF.glsl @@ -26,9 +26,7 @@ vec3 getAdditiveColor(); vec3 getAtmosAttenuation(); -uniform sampler2D cloudMap; uniform vec4 gamma; -uniform vec4 cloud_pos_density1; uniform vec4 lightnorm; uniform vec4 sunlight_color; uniform vec4 ambient; diff --git a/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl b/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl index e8e9c53c38..c2f4c43101 100644 --- a/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl +++ b/indra/newview/app_settings/shaders/class3/windlight/transportF.glsl @@ -30,8 +30,6 @@ vec3 getAdditiveColor(); vec3 getAtmosAttenuation(); -uniform sampler2D cloudMap; -uniform vec4 cloud_pos_density1; uniform int no_atmo; vec3 atmosFragTransport(vec3 light, vec3 atten, vec3 additive) { -- cgit v1.2.3