diff options
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/deferredUtil.glsl | 2 | ||||
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl | 1 |
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 ); |