diff options
author | Dave Parks <davep@lindenlab.com> | 2013-04-18 18:00:56 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-04-18 18:00:56 -0500 |
commit | 1a5bba865c096473164b47a56dbb0ba1e055613d (patch) | |
tree | c63cc85e81e455c562144005ced8d6a0b5159d03 /indra/newview/llviewershadermgr.cpp | |
parent | 37f984a942ae175d21b3749f1ee7966fa5b337e8 (diff) |
NORSPEC-90 Cleanup of alpha pool hook ups for materials.
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rw-r--r-- | indra/newview/llviewershadermgr.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp index d30fe50ac8..2442e04a42 100644 --- a/indra/newview/llviewershadermgr.cpp +++ b/indra/newview/llviewershadermgr.cpp @@ -1412,8 +1412,10 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() gDeferredAlphaProgram.mShaderFiles.clear(); gDeferredAlphaProgram.mShaderFiles.push_back(make_pair("deferred/alphaV.glsl", GL_VERTEX_SHADER_ARB)); gDeferredAlphaProgram.mShaderFiles.push_back(make_pair("deferred/alphaF.glsl", GL_FRAGMENT_SHADER_ARB)); + gDeferredAlphaProgram.addPermutation("INDEX_MODE", "1"); + gDeferredAlphaProgram.addPermutation("HAS_SKIN", "0"); + gDeferredAlphaProgram.addPermutation("IS_AVATAR_SKIN", "0"); gDeferredAlphaProgram.mShaderLevel = mVertexShaderLevel[SHADER_DEFERRED]; - success = gDeferredAlphaProgram.createShader(NULL, NULL); // Hack |