Closed toydev closed 4 months ago
It is known that there is a feeling of discomfort related to light.
The light that causes discomfort is disabled below.
foreach (var i in UnityEngine.Object.FindObjectsOfType<Light>())
{
if (i.shadows != LightShadows.None) i.shadows = LightShadows.None;
if (i.type == LightType.Spot || i.type == LightType.Point) i.enabled = false;
}
However, I would like to know if there is a way to make the light work properly.
Purpose achieved, closing.
There seem to be several factors that are causing the discomfort.
It is necessary to identify and eliminate the factors that cause the discomfort.