mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix preview fog lights not being in the correct positions
This commit is contained in:
parent
8a2510d1d3
commit
c8208fa087
@ -235,7 +235,11 @@ namespace NewHorizons.Builder.Props
|
||||
// account for scale (this will fix the issue with screen fog caused by scaled down nodes)
|
||||
|
||||
// Set the main scale
|
||||
brambleNode.transform.localScale = Vector3.one * config.scale;
|
||||
// Can't just use localScale of root, that makes the preview fog lights get pulled in too much
|
||||
foreach(Transform child in brambleNode.transform)
|
||||
{
|
||||
child.localScale = Vector3.one * config.scale;
|
||||
}
|
||||
innerFogWarpVolume._warpRadius *= config.scale;
|
||||
innerFogWarpVolume._exitRadius *= config.scale;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user