mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make no shadow on clouds work better
This commit is contained in:
parent
93a9d2c40f
commit
3ccc4338c0
@ -75,6 +75,11 @@ namespace NewHorizons.Atmosphere
|
|||||||
material.SetTexture("_CapTex", cap);
|
material.SetTexture("_CapTex", cap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!atmo.ShadowsOnClouds)
|
||||||
|
{
|
||||||
|
cloudsTopGO.layer = LayerMask.NameToLayer("IgnoreSun");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
RotateTransform topRT = cloudsTopGO.AddComponent<RotateTransform>();
|
RotateTransform topRT = cloudsTopGO.AddComponent<RotateTransform>();
|
||||||
topRT.SetValue("_localAxis", Vector3.up);
|
topRT.SetValue("_localAxis", Vector3.up);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user