Occluding voidwater again, as not doing such drastically lowers peak framerates. (100+ to ~50 on my hardware)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user