summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3
diff options
context:
space:
mode:
authorHoward Stearns <howard.stearns@gmail.com>2022-08-26 09:48:18 -0700
committerHoward Stearns <howard.stearns@gmail.com>2022-08-26 09:48:18 -0700
commita8d122365db280d04552dbc23db9c43dbf1cb400 (patch)
tree8902ed4f9063fbe3781ad410f57a058ddd76fa7c /indra/newview/app_settings/shaders/class3
parent140909c77553db6115e4eeaf14afece498f0a140 (diff)
SL-17967 - review comments
Diffstat (limited to 'indra/newview/app_settings/shaders/class3')
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
index 9286c43ace..01ed71d45d 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -111,7 +111,7 @@
#define DEBUG_PBR_SUN_SPEC_FV 0 // F() * V()
#define DEBUG_PBR_SUN_SPEC_DFV 0 // D() * F() * V()
#define DEBUG_PBR_SUN_SPEC_NL_DFV 0 // nl * D() * F() * V()
-#define DEBUG_PBR_SUN_FINAL 0 // LAMBERT_NL + NL_DFV ?
+#define DEBUG_PBR_SUN_FINAL 0 // LAMBERT_NL + BRDF()
#define DEBUG_PBR_IOR 0 // Output: grayscale IOR
#define DEBUG_PBR_REFLECT0_BASE 0 // Output: black reflect0 default from ior
@@ -325,10 +325,6 @@ void main()
specLight = vec3(0,0.5,1.0);
irradiance = specLight;
#endif
-// TODO:
-//#if PBR_USE_IBL
-// kSpec = mix( kSpec, iridescenceFresnel, iridescenceFactor);
-//#endif
vec3 FssEssGGX = kSpec*vScaleBias.x + vScaleBias.y;
#if DEBUG_PBR_SPEC_IBL
vec3 debug_color_spec = specWeight * specLight * FssEssGGX;