summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-07-27 10:20:22 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-08-02 09:44:45 -0700
commit9e036a17fa9d1fb3061eccf21e8f8ec4b24d3200 (patch)
tree03e78d9aad32efd0bb7d6e0c1ab5554cec01773f /indra/newview/app_settings
parentd621e58ad49e1a67315da9362a404cf2b7683a99 (diff)
SL-17762: PBR: Fix falloff
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl b/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
index 70a7f67864..ad3a93128d 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
@@ -290,7 +290,7 @@ vec2 getGGX( vec2 brdfPoint )
float getLightAttenuationPointSpot(float range, float distance)
{
#if 1
- return range;
+ return distance;
#else
float range2 = pow(range, 2.0);