summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2018-07-03 16:59:07 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2018-07-03 16:59:07 +0300
commit6e03f2b4b5d6fcc6e26193185f2fe58f52d12598 (patch)
tree10f6ca338c87adb3b3e6b88f4adfb63803c9467e
parent9fde798bd81c703f85c144b118d0bf7a3c557c33 (diff)
MAINT-8836 - Objects with Alpha Masking > 0 settings do not rendering correctly on avatar
FIXED
-rw-r--r--indra/newview/llviewershadermgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index ff7647a7e4..d2acfa291c 100644
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -2065,6 +2065,7 @@ BOOL LLViewerShaderMgr::loadShadersObject()
gObjectSimpleNonIndexedProgram.mFeatures.hasAtmospherics = true;
gObjectSimpleNonIndexedProgram.mFeatures.hasLighting = true;
gObjectSimpleNonIndexedProgram.mFeatures.disableTextureIndex = true;
+ gObjectSimpleNonIndexedProgram.mFeatures.hasAlphaMask = true;
gObjectSimpleNonIndexedProgram.mShaderFiles.clear();
gObjectSimpleNonIndexedProgram.mShaderFiles.push_back(make_pair("objects/simpleV.glsl", GL_VERTEX_SHADER_ARB));
gObjectSimpleNonIndexedProgram.mShaderFiles.push_back(make_pair("objects/simpleF.glsl", GL_FRAGMENT_SHADER_ARB));