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
parent
4f1e39d4a4
commit
ef57351148
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue