SL-10566 part the second

Re-enable occlusion for the refracted object culling for the distortion map
(was bloating scene by 3k draw calls when disabled for that pass).
meow-7.2.2
Graham Linden 2019-02-26 17:58:52 -08:00
parent 4f1e39d4a4
commit ef57351148
1 changed files with 4 additions and 0 deletions

View File

@ -9593,6 +9593,10 @@ void LLPipeline::generateWaterReflection(LLCamera& camera_in)
set_current_modelview(current);
}
// SL-10566 re-enable occlusion for refracted object set
// this bloated the scene by 3k calls when disabled
LLPipeline::sUseOcclusion = occlusion;
camera.setOrigin(camera_in.getOrigin());
//render distortion map
static bool last_update = true;