diff options
author | Dave Parks <davep@lindenlab.com> | 2022-09-19 17:27:33 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-09-19 17:27:33 -0500 |
commit | 04d3a29a699cd0a4c08ab096bfbab153e65c1fd1 (patch) | |
tree | e3c5211bdca91d237486f261c8c82d6bf2763e36 /indra/newview/app_settings/shaders/class1/deferred | |
parent | 4f7c86a145877bdaae3e74900076b6790b7abc0e (diff) |
SL-18190 Faster better stronger radiance/irradiance maps
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-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 950776aa47..49f85af53b 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl @@ -366,7 +366,7 @@ vec3 pbrIbl(vec3 diffuseColor, vec2 brdf = BRDF(clamp(nv, 0, 1), 1.0-perceptualRough); vec3 diffuseLight = irradiance; vec3 specularLight = radiance; - + vec3 diffuse = diffuseLight * diffuseColor; vec3 specular = specularLight * (specularColor * brdf.x + brdf.y); |