summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/lighting
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-03-26 10:28:25 -0700
committerGraham Linden <graham@lindenlab.com>2019-03-26 10:28:25 -0700
commitfb7c887a5e09024731038eef0a57e5f1e8e08b2e (patch)
tree9563119c9a44e03c642de828cb93e9399e1c4c35 /indra/newview/app_settings/shaders/class1/lighting
parent446afe2d1a081a0e10a34749bbe1e4475075dae0 (diff)
More consistent lighting across ALM/non-ALM/deferred/forward rendering.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/lighting')
-rw-r--r--indra/newview/app_settings/shaders/class1/lighting/lightFuncV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/lighting/lightFuncV.glsl b/indra/newview/app_settings/shaders/class1/lighting/lightFuncV.glsl
index a9288b3df6..8defcf9f52 100644
--- a/indra/newview/app_settings/shaders/class1/lighting/lightFuncV.glsl
+++ b/indra/newview/app_settings/shaders/class1/lighting/lightFuncV.glsl
@@ -28,7 +28,7 @@
float calcDirectionalLight(vec3 n, vec3 l)
{
- float a = max(dot(n,l),0.0);
+ float a = max(dot(n,normalize(l)),0.0);
return a;
}