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

Properly investigate/fix RenderWrapper.cs Depth Blit #691

Open
mikeskydev opened this issue Apr 19, 2024 · 1 comment
Open

Properly investigate/fix RenderWrapper.cs Depth Blit #691

mikeskydev opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mikeskydev
Copy link
Member

RenderWrapper.cs was failing to properly blit depth during it's offscreen rendering on PCVR.

Mobile skips certain steps, so it works fine.

I temporarily worked around this in #685 but it may have side effects, notably we still need offscreen render for recording with camera.

This may be a Unity bug, but let's investigate and fix where we can.

More information in #420

@mikeskydev mikeskydev added the bug Something isn't working label Apr 19, 2024
@mikeskydev mikeskydev self-assigned this Apr 19, 2024
@mikeskydev
Copy link
Member Author

mikeskydev commented May 16, 2024

Not sure if URP only, but noting that there's supposedly an issue that was fixed in Unity 6 involving alpha second-cam rendering. https://forum.unity.com/threads/post-processing-with-multiple-cameras-is-currently-very-problematic.1028533/ An alpha preservation checkbox has been added in Unity 6000.0.0 Beta 16. Thank you to everyone who contributed to the thread and submitted a use case!

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

No branches or pull requests

1 participant