mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 12:58:27 +00:00
disable GI
This commit is contained in:
parent
0e5399a896
commit
836f5f228f
1 changed files with 4 additions and 0 deletions
|
@ -269,6 +269,10 @@ namespace SanAndreasUnity.Editor
|
|||
|
||||
// disable automatic light baking, otherwise Editor will be very slow after assets are loaded and will fill the whole memory
|
||||
Lightmapping.giWorkflowMode = Lightmapping.GIWorkflowMode.OnDemand;
|
||||
|
||||
// disable GI - it makes Editor very slow after the assets are loaded
|
||||
Lightmapping.bakedGI = false;
|
||||
Lightmapping.realtimeGI = false;
|
||||
|
||||
DayTimeManager.Singleton.SetTime(13, 0, true); // to make TOBJ objects visible
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue