summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-03-02 18:36:57 -0600
committerDave Parks <davep@lindenlab.com>2023-03-02 18:36:57 -0600
commit7139444461aae953a263a60f1a093070cc870225 (patch)
tree8370d8c9c24830c81fcf834be19c95726d0524cd /indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
parentbc7856098f70371dd392c74689df267cce819aa7 (diff)
SL-19281 Post review cleanup.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl b/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
index 0b4a59c866..4bf16b50bf 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
@@ -74,7 +74,6 @@ const float ONE_OVER_PI = 0.3183098861;
vec3 srgb_to_linear(vec3 cs);
vec3 atmosFragLightingLinear(vec3 light, vec3 additive, vec3 atten);
-vec3 scaleSoftClipFragLinear(vec3 light);
float calcLegacyDistanceAttenuation(float distance, float falloff)
{
@@ -568,7 +567,7 @@ vec3 pbrBaseLight(vec3 diffuseColor, vec3 specularColor, float metallic, vec3 v,
specContrib *= sunlit * 2.75 * scol;
specContrib += ibl_spec;
- color += colorEmissive; //divide by two to correct for magical multiply by two in atmosFragLighting
+ color += colorEmissive;
return color;
}