Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VR grass culling per eye issue with grass lighting mod #124

Closed
thorwin99 opened this issue Oct 9, 2023 · 0 comments
Closed

VR grass culling per eye issue with grass lighting mod #124

thorwin99 opened this issue Oct 9, 2023 · 0 comments
Labels
bug Something isn't working VR VR only issue

Comments

@thorwin99
Copy link
Contributor

When using the grass lighting mod in VR, or more specific the RunGrass.hlsl shader, the grass culling distance is different for each eye.
This results in a slightly distorted feeling when viewing grass in a distance.
The following picture showcases the issue, where the left and right eye images differ significantly for distant grass:

image

A more specific comparison:
image
image

thorwin99 added a commit to thorwin99/skyrim-community-shaders that referenced this issue Oct 9, 2023
VR grass cull distance was calculated per eye, resulting in different
cull distances for each eye.
This meant, that grass might be visible in the left eye, while culled in
the right eye.
This is a potential fix, calculating the cull distance based on the
first eye.
thorwin99 added a commit to thorwin99/skyrim-community-shaders that referenced this issue Oct 9, 2023
VR grass cull distance was calculated per eye, resulting in different
cull distances for each eye.
This meant, that grass might be visible in the left eye, while culled in
the right eye.
This is a potential fix, calculating the cull distance based on the
first eye.
@alandtse alandtse added bug Something isn't working VR VR only issue labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VR VR only issue
Projects
None yet
Development

No branches or pull requests

2 participants