MAINT-8355 - Alpha masked textures turn white on rigged mesh when viewed through the water surface.

Wed, 28 Mar 2018 19:45:04 +0300

author
ruslantproductengine <ruslantproductengine@lindenlab.com>
date
Wed, 28 Mar 2018 19:45:04 +0300
changeset 55034
914def879c16
parent 55033
836021469d04
child 55035
a5e854dc4088
child 55083
6cc7466e6e3c

MAINT-8355 - Alpha masked textures turn white on rigged mesh when viewed through the water surface.
FIXED.

indra/newview/llviewershadermgr.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llviewershadermgr.cpp	Sat Apr 07 03:34:18 2018 +0200
     1.2 +++ b/indra/newview/llviewershadermgr.cpp	Wed Mar 28 19:45:04 2018 +0300
     1.3 @@ -2829,6 +2829,7 @@
     1.4  			gSkinnedObjectSimpleWaterProgram.mShaderGroup = LLGLSLShader::SG_WATER;
     1.5  			gSkinnedObjectSimpleWaterProgram.mFeatures.hasObjectSkinning = true;
     1.6  			gSkinnedObjectSimpleWaterProgram.mFeatures.disableTextureIndex = true;
     1.7 +			gSkinnedObjectSimpleWaterProgram.mFeatures.hasAlphaMask = true;
     1.8  			gSkinnedObjectSimpleWaterProgram.mShaderFiles.clear();
     1.9  			gSkinnedObjectSimpleWaterProgram.mShaderFiles.push_back(make_pair("objects/simpleSkinnedV.glsl", GL_VERTEX_SHADER_ARB));
    1.10  			gSkinnedObjectSimpleWaterProgram.mShaderFiles.push_back(make_pair("objects/simpleWaterF.glsl", GL_FRAGMENT_SHADER_ARB));

mercurial