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

Volumetric effect not dislaying correctly in VRC VR mode #6

Open
nalnalas opened this issue Nov 13, 2024 · 2 comments
Open

Volumetric effect not dislaying correctly in VRC VR mode #6

nalnalas opened this issue Nov 13, 2024 · 2 comments
Assignees

Comments

@nalnalas
Copy link

(Not sure if this is user error or a bug!)

In VRChat VR mode, the volumetrics only appear on the far left of the left eye (see image below). You can kind of see the fog blending between green/blue on that far left edge as intended, changing the density also effected this area of the screen so I am fairly confident it is the volumetric effect rather than some other unrelated visual bug.

photo_2024-11-13 08 51 46

Otherwise, everything is working generally as intended using a 2D camera or non-VR mode (see bottom right of image).

photo_2024-11-13 08 53 16

@frostbone25
Copy link
Owner

Thank you for reporting, I will look into this1

@frostbone25 frostbone25 self-assigned this Nov 14, 2024
@Hiyougami
Copy link

I was able to fix this for VRChat by removing the UnityStereoTransformScreenSpaceTex function on line 206, so instead of:
o.screenPos = UnityStereoTransformScreenSpaceTex(ComputeScreenPos(o.vertex));
it's now just:
o.screenPos = ComputeScreenPos(o.vertex);
I'm not sure how healthy of a fix this is, I'm not very knowledgeable about this stuff, but it worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants