diff options
author | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-06-24 10:18:37 -0700 |
---|---|---|
committer | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-06-24 10:18:37 -0700 |
commit | 4841eaddb9dcfe6c6290f430121a6407b4ebe322 (patch) | |
tree | 825d35370eb0c2e0f514950f46f7782073f36931 /indra | |
parent | 3a8cdb5d46cd12a5aad001e4bcec5b26f6f748ce (diff) |
MATBUG-194 WIP investigate if light func sampling precision is causing whirly's wierdness
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/pipeline.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index d37b086ae3..9713f963b9 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1400,13 +1400,9 @@ void LLPipeline::createLUTBuffers() ls[y*lightResX+x] = k;*/ } } - - U32 pix_format = GL_R16F; -#if LL_DARWIN // Need to work around limited precision with 10.6.8 and older drivers // - pix_format = GL_R32F; -#endif + U32 pix_format = GL_R32F; LLImageGL::generateTextures(LLTexUnit::TT_TEXTURE, pix_format, 1, &mLightFunc); gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, mLightFunc); LLImageGL::setManualImage(LLTexUnit::getInternalType(LLTexUnit::TT_TEXTURE), 0, pix_format, lightResX, lightResY, GL_RED, GL_FLOAT, ls, false); |