SHA256
Add Disable Tile Culling Option
This commit is contained in:
1 parent
7c6210d2c4
commit
d1ba5d5c18
7 files changed
+86
-2
No files matched your search
@@ -940,6 +940,14 @@ internal class RenderManager : MonoBehaviour
|
||||
// Cancelled or failed during the countdown: do not start the encoder
|
||||
if (stage != RenderStage.OnScene) yield break;
|
||||
|
||||
if (Configuration.AdvancedConfig.DisableTileCulling && scrLevelMaker.instance)
|
||||
{
|
||||
foreach (var floor in scrLevelMaker.instance.listFloors)
|
||||
{
|
||||
if (floor) floor.enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
frameCount = 0; framesSent = 0;
|
||||
_renderStopwatch.Restart();
|
||||
|
||||
|
||||
Reference in new issue
Block a user