diff options
| author | mobserveur <mobserveur@gmail.com> | 2025-10-05 17:00:58 +0200 |
|---|---|---|
| committer | mobserveur <mobserveur@gmail.com> | 2025-10-05 17:00:58 +0200 |
| commit | bf5af837a95f449f8f2164d51a9040f673bfd85a (patch) | |
| tree | 522ba1306658137f4b9455e0ae643fa9cf103128 /indra/newview/pipeline.cpp | |
| parent | cee509bcb5a6045369237c0667d17f85f52b808a (diff) | |
sun reflection on the sea in hdr display mode + fix for white screen
This commit adds support for sun reflection on the sea in hdr display mode.
It also fixes an issue where the display is all white with
low color precision and non hdr & emissive mode.
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 8b0890a367..dde8b8ed2a 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -886,7 +886,7 @@ bool LLPipeline::allocateScreenBufferInternal(U32 resX, U32 resY, U32 type_) if (!addDeferredAttachments(mRT->deferredScreen)) return false; GLuint screenFormat = GL_RGBA16F; - if(!hdr && !mHDRDisplay && MPColorPrecision == 1) screenFormat = GL_RGB8; + if(!hdr && !mHDRDisplay && MPColorPrecision == 1) screenFormat = GL_RGB10_A2; if (!mRT->screen.allocate(resX, resY, GL_RGBA16F)) return false; |
