summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/objects/previewV.glsl
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2020-10-14 22:01:35 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-10-14 22:01:35 +0300
commita15d0286f5df23ea2396e29dec4609dfae68a218 (patch)
tree841d0bb0ab5f5238010b18338c8d917ae29bbd46 /indra/newview/app_settings/shaders/class1/objects/previewV.glsl
parent4c69f9ebb187a6044265c3c67079576f96fc24b6 (diff)
parenta2c8c8238cfb109e0da81363995e08e99173426f (diff)
Merge branch 'master' into DRTVWR-486
# Conflicts: # indra/newview/llfloatermodelpreview.cpp
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/objects/previewV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/objects/previewV.glsl1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/objects/previewV.glsl b/indra/newview/app_settings/shaders/class1/objects/previewV.glsl
index 88959266c8..4bb588335a 100644
--- a/indra/newview/app_settings/shaders/class1/objects/previewV.glsl
+++ b/indra/newview/app_settings/shaders/class1/objects/previewV.glsl
@@ -93,6 +93,5 @@ void main()
col.rgb += light_diffuse[1].rgb * calcDirectionalLight(norm, light_position[1].xyz);
col.rgb += light_diffuse[2].rgb*calcLocalLight(pos.xyz, norm, light_position[2], light_direction[2], light_attenuation[2].x, light_attenuation[2].z);
col.rgb += light_diffuse[3].rgb*calcLocalLight(pos.xyz, norm, light_position[3], light_direction[3], light_attenuation[3].x, light_attenuation[3].z);
-
vertex_color = col*color;
}