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

Add rendering camera masks and layers #1446

Open
RiscadoA opened this issue Jan 27, 2025 · 0 comments
Open

Add rendering camera masks and layers #1446

RiscadoA opened this issue Jan 27, 2025 · 0 comments
Labels
A-Engine B-Rendering P-Normal This issue isn't a big priority, but it would still be nice to have it closed soon S-Needs-Design Demands some time designing an implementation

Comments

@RiscadoA
Copy link
Member

Problem

Other engines usually have this functionality: you can set the layer of an entity, and then toggle which layers a given camera renders with a mask.

Solution

Unclear, but definitely there should be a layer mask on the Camera component. Would be cool to support giving names to layers, at least in the editor. Implementation-wise we should use bitmasks for performance reasons.

@RiscadoA RiscadoA added A-Engine B-Rendering P-Normal This issue isn't a big priority, but it would still be nice to have it closed soon S-Needs-Design Demands some time designing an implementation labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Engine B-Rendering P-Normal This issue isn't a big priority, but it would still be nice to have it closed soon S-Needs-Design Demands some time designing an implementation
Projects
None yet
Development

No branches or pull requests

1 participant