summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/interface
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-09-17 15:37:21 -0500
committerDave Parks <davep@lindenlab.com>2022-09-17 15:37:21 -0500
commit48eea4de0a9304cd25af46defb52cb0adeeb87c4 (patch)
tree7aed85a5a6ad23409b7ae44ab3a66b89ed8e5126 /indra/newview/app_settings/shaders/class1/interface
parent13ac0f77ffe488ccdebfd28cabe8ed95d61aa684 (diff)
Adjust radiance maps to better match Substance
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/interface')
-rw-r--r--indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl b/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl
index 94fedce243..05c86de6d4 100644
--- a/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl
+++ b/indra/newview/app_settings/shaders/class1/interface/radianceGenF.glsl
@@ -151,7 +151,7 @@ vec3 prefilterEnvMap(vec3 R, float roughness)
float omegaP = 4.0 * PI / (6.0 * envMapDim * envMapDim);
// Biased (+1.0) mip level for better result
//float mipLevel = roughness == 0.0 ? 0.0 : max(0.5 * log2(omegaS / omegaP) + 1.0, 0.0f);
- color += textureLod(reflectionProbes, vec4(L,sourceIdx), mipLevel).rgb * dotNL;
+ color += textureLod(reflectionProbes, vec4(L,sourceIdx), mipLevel+0.75).rgb * dotNL;
totalWeight += dotNL;
}