From 88df625096449921d7c7909bbf41331beed01049 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Sat, 13 Aug 2011 03:30:51 -0500 Subject: [PATCH] Occluding voidwater again, as not doing such drastically lowers peak framerates. (100+ to ~50 on my hardware) --- indra/newview/llvowater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llvowater.cpp b/indra/newview/llvowater.cpp index aa998fc75..7eae4f2f8 100644 --- a/indra/newview/llvowater.cpp +++ b/indra/newview/llvowater.cpp @@ -288,7 +288,7 @@ U32 LLVOWater::getPartitionType() const { if (mIsEdgePatch) { - return LLViewerRegion::PARTITION_VOIDWATER; + //return LLViewerRegion::PARTITION_VOIDWATER; } return LLViewerRegion::PARTITION_WATER; @@ -309,7 +309,7 @@ LLWaterPartition::LLWaterPartition() LLVoidWaterPartition::LLVoidWaterPartition() { - mOcclusionEnabled = FALSE; + //mOcclusionEnabled = FALSE; mDrawableType = LLPipeline::RENDER_TYPE_VOIDWATER; mPartitionType = LLViewerRegion::PARTITION_VOIDWATER; }