diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-06-01 20:15:35 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-06-01 20:15:35 -0500 |
commit | b0540f8189d28da66c143c5de961deaba7a86f17 (patch) | |
tree | df8645f8011328363cd3a37eb78625a4787f86fb /indra/newview/app_settings/shaders/class2/deferred | |
parent | 50ec54831de88926ca13c9a72d89006ceda6c355 (diff) |
DRTVWR-559 Rebalance PBR against Blinn-Phong.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl index 9ac106149e..d678973515 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl @@ -152,7 +152,7 @@ vec3 calcPointLightOrSpotLight(vec3 diffuseColor, vec3 specularColor, // spot*spot => GL_SPOT_EXPONENT=2 float spot_atten = spot*spot; - vec3 intensity = spot_atten * dist_atten * lightColor * 3.9; //magic number to balance with legacy materials + vec3 intensity = spot_atten * dist_atten * lightColor * 3.0; //magic number to balance with legacy materials vec3 speccol; color = intensity*pbrPunctual(diffuseColor, specularColor, perceptualRoughness, metallic, n.xyz, v, lv, speccol); |