diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-07-27 10:20:22 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-08-02 09:44:45 -0700 |
commit | 9e036a17fa9d1fb3061eccf21e8f8ec4b24d3200 (patch) | |
tree | 03e78d9aad32efd0bb7d6e0c1ab5554cec01773f /indra/newview/app_settings | |
parent | d621e58ad49e1a67315da9362a404cf2b7683a99 (diff) |
SL-17762: PBR: Fix falloff
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl | 2 |
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); |