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

Vivecraft rendering is broken when voxy is enabled #44

Open
Squeakychu opened this issue May 14, 2024 · 3 comments
Open

Vivecraft rendering is broken when voxy is enabled #44

Squeakychu opened this issue May 14, 2024 · 3 comments
Labels
bug Something isn't working compat Mod compatibility

Comments

@Squeakychu
Copy link

Squeakychu commented May 14, 2024

When using Vivecraft's VR mode, rendering with voxy is currently broken. Below is a screenshot with normal Vivecraft gameplay. When voxy is disabled, water, hands, and GUI all render appropriately.
https://ibb.co/1XQjDtT

However, when voxy is enabled, water becomes severely glitched, either not rendering at all, or partially rendering with a lot of noise. The next two should hopefully show it a little bit. In motion, the water is noisy like static though. The water generated by voxy LODs render fine though. Other textures close by become noisy too, though they render fully at least.
https://ibb.co/sQkfrVV
https://ibb.co/7zPKtb5
https://ibb.co/nnHWMCs

Furthermore, when voxy is enabled, all GUI elements, including the players hands become invisible, making menu navigation impossible.

These issues only occur when VR mode is enabled. Regular 2d doesn't seem to exhibit any of the issues above with Voxy enabled.

@Squeakychu Squeakychu changed the title Vivecraft rendering is broken when voxy is enabled; non-LOD water dissapears/is noisy; Vivecraft rendering is broken when voxy is enabled; non-LOD water dissapears/is noisy; GUI/hands don't render at all May 14, 2024
@Squeakychu Squeakychu changed the title Vivecraft rendering is broken when voxy is enabled; non-LOD water dissapears/is noisy; GUI/hands don't render at all Vivecraft rendering is broken when voxy is enabled May 14, 2024
@Steveplays28 Steveplays28 added bug Something isn't working compat Mod compatibility labels May 16, 2024
@Isgeny
Copy link

Isgeny commented Aug 18, 2024

Any news?

@Isgeny
Copy link

Isgeny commented Aug 19, 2024

I see a lot of these messages in logs:
OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Depth formats do not match.'
when I use voxy and vivecraft

@Isgeny
Copy link

Isgeny commented Aug 20, 2024

I disabled stencil on vivecraft side
https://github.com/Vivecraft/VivecraftMod/blob/Multiloader-1.20.4/common/src/main/java/org/vivecraft/mixin/client/blaze3d/RenderTargetMixin.java#L26
and it worked for me.

I'm not familiar with opengl and don't know how to do it in production-ready code and also on whose side the fix should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compat Mod compatibility
Projects
None yet
Development

No branches or pull requests

3 participants