toydev / HC_VRTrial

MIT License
33 stars 1 forks source link

Discomfort between left eye and right eye: Shadows and ligths #2

Closed toydev closed 4 months ago

toydev commented 7 months ago

There seem to be several factors that are causing the discomfort.

It is necessary to identify and eliminate the factors that cause the discomfort.

toydev commented 7 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.

toydev commented 4 months ago

Purpose achieved, closing.