Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
132 stars 2 forks source link

Default mirrors don't support non-parallel display headsets #2665

Open FynnleyNeko opened 1 month ago

FynnleyNeko commented 1 month ago

Describe the Underlying Issue

If you look at mirrors on a headset without parallel displays or parallel-reprojection it will look "crosseyed" because the mirrors dont respect tilted displays. Most content in the game seems to reflect correctly and doesnt show the issue, yet the mirrors in the game completely fall apart and are unusable on these kinds of headsets.

My finger is on the mirror shader using some kind of screenspace feature somewhere, this isnt compliant with modern headsets anymore, because screenspace can be non-planar and thus cause perspective errors

To Reproduce

Use a headset like a Pimax or an Index forced to not do parallel-reprojection and look at a mirror.

Expected Behavior

The mirrors should respect tilted displays and render correctly not assuming the displays to be parallel (for example VRChat does not show this problem with mirrors)

Screenshots / Video

I have not found a good way to screenshot this issue as it very much relies on human vision to see the perspective error between eyes

Additional Context

No response

Reporters

Fynnley (Discord)

shiftyscales commented 1 month ago

This would not be a content issue- as you had indicated, it would likely require shader work.

Seeking input from @Geenz.

FynnleyNeko commented 1 month ago

Oh that's my bad I thought shaders counted as content, the same way that in VRChat you include the shaders with avatars and worlds

shiftyscales commented 1 month ago

All good @FynnleyNeko. Thank you for making this issue. :)