Skip to content
Snippets Groups Projects
Commit 70bdf554 authored by David Parks's avatar David Parks
Browse files

SL-19517 Followup -- fix broken fallback probe. Adjust water brightness.

parent e8114dbe
No related branches found
No related tags found
No related merge requests found
...@@ -676,7 +676,7 @@ void sampleReflectionProbesWater(inout vec3 ambenv, inout vec3 glossenv, ...@@ -676,7 +676,7 @@ void sampleReflectionProbesWater(inout vec3 ambenv, inout vec3 glossenv,
sampleReflectionProbes(ambenv, glossenv, tc, pos, norm, glossiness); sampleReflectionProbes(ambenv, glossenv, tc, pos, norm, glossiness);
// fudge factor to get PBR water at a similar luminance ot legacy water // fudge factor to get PBR water at a similar luminance ot legacy water
glossenv *= 0.25; glossenv *= 0.5;
} }
void debugTapRefMap(vec3 pos, vec3 dir, float depth, int i, inout vec4 col) void debugTapRefMap(vec3 pos, vec3 dir, float depth, int i, inout vec4 col)
......
...@@ -1043,6 +1043,8 @@ void LLReflectionMapManager::initReflectionMaps() ...@@ -1043,6 +1043,8 @@ void LLReflectionMapManager::initReflectionMaps()
{ {
is_free = true; is_free = true;
} }
mCubeFree[0] = false;
} }
if (mVertexBuffer.isNull()) if (mVertexBuffer.isNull())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment