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

fix: use current camera for buffer size instead of Screen parameters. #34

Closed
wants to merge 4 commits into from

Conversation

happy-turtle
Copy link
Owner

The goal is to fix multi-camera setups in editor or in runtime. Currently the buffer setup uses the screen parameters to determine buffer sizes. The screen parameters can be different though for e.g. the editor, scene and preview window. And the screen parameters might not actually represent the correct size for the currently rendering camera. Eventually should resolve #33.

This is a breaking change, because it modifies the public OIT interface. But it's only breaking if you wrote your own OIT implementation.
@happy-turtle happy-turtle marked this pull request as ready for review June 1, 2024 13:57
@happy-turtle happy-turtle marked this pull request as draft June 1, 2024 13:59
@happy-turtle happy-turtle deleted the fix/multi-camera-render branch July 4, 2024 20:29
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

Successfully merging this pull request may close these issues.

in Postprocess mode, the GPU crashes steadily
1 participant