summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-08-26 15:19:03 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-08-26 15:19:03 -0700
commit8b45dfd477f6aedbf2c835fa276733ce6eba8e9f (patch)
tree84e0306ee6fed87488dcabdb47165e45f5d11f04 /indra/newview
parentdc8773ffe91d51f1918a7f6756b2746440d6a1b9 (diff)
DRTVWR-559: PBR: Cleanup debug
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl2
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl1
2 files changed, 2 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 777021cd53..833f5d51b6 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl
@@ -291,7 +291,7 @@ vec2 getScreenXY(vec4 clip)
// Color utils
-vec3 colorized_dot(float x)
+vec3 colorize_dot(float x)
{
if (x > 0.0) return vec3( 0, x, 0 );
if (x < 0.0) return vec3(-x, 0, 0 );
diff --git a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
index 36407065c0..02e7c55718 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
@@ -186,6 +186,7 @@ vec3 srgb_to_linear(vec3 c);
// Debug Utils
vec3 BRDFDiffuse(vec3 color);
+vec3 colorize_dot(float x);
vec3 fresnelSchlick( vec3 reflect0, vec3 reflect90, float vh);
float D_GGX( float nh, float alphaRough );
float V_GGX( float nl, float nv, float alphaRough );