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

Rendering a Scene multiple times for split screen with PostProcessing enabled is broken #122

Open
fallahn opened this issue Apr 12, 2020 · 1 comment
Assignees
Labels

Comments

@fallahn
Copy link
Owner

fallahn commented Apr 12, 2020

By default a Scene can be rendered multiple times with different Camera components to create effects such as split screen or picture in picture. This breaks when PostProcess is enabled as the post process buffer gets cleared between draw calls. The fix for this is to submit a list of Camera component carrying entities to the Scene when drawing - see the crogine repository for potential implementation.

@fallahn fallahn added the bug label Apr 12, 2020
@fallahn fallahn self-assigned this Apr 12, 2020
@fallahn
Copy link
Owner Author

fallahn commented May 5, 2020

This also affects the culling of UIHitboxes in UISystem

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

No branches or pull requests

1 participant