diff options
author | Geenz <geenz@geenzo.com> | 2013-04-11 14:57:11 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-04-11 14:57:11 -0400 |
commit | cfc375777871ec3d04b9969793379d0cd78a012e (patch) | |
tree | 851d39612b82e18f82fe47961e4e9fbf70713ff4 /indra/newview/llviewertexturelist.cpp | |
parent | 84475635b9c3db8d42f2f0a256d34c08274f53ed (diff) |
First pass on alpha blended materials
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r-- | indra/newview/llviewertexturelist.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index b9f5c432d0..8d71761f92 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -119,6 +119,9 @@ void LLViewerTextureList::doPreloadImages() LLTexUnit::sWhiteTexture = LLViewerFetchedTexture::sWhiteImagep->getTexName(); LLUIImageList* image_list = LLUIImageList::getInstance(); + // Set the default flat normal map + LLViewerFetchedTexture::sFlatNormalImagep = LLViewerTextureManager::getFetchedTextureFromFile("flatnormal.tga", MIPMAP_NO, LLViewerFetchedTexture::BOOST_BUMP); + image_list->initFromFile(); // turn off clamping and bilinear filtering for uv picking images |