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 grab pass toggles as component attribute #4814

Merged
merged 6 commits into from
Nov 3, 2022

Conversation

GSterbrant
Copy link
Contributor

Description

To enable grab passes for depth and color on a camera, it was required to execute requestSceneColorMap or requestSceneDepthMap on the camera component, but that wouldn't allow serialisation and loading of these attributes.

@GSterbrant GSterbrant added enhancement area: graphics Graphics related issue labels Nov 3, 2022
@GSterbrant GSterbrant self-assigned this Nov 3, 2022
@GSterbrant GSterbrant changed the title Allow camera to set the depth and color grab pass toggle as attributes. Add grab pass toggles as component attribute Nov 3, 2022
…y enabling the request counter if the attribute has been set to true at least once.
@GSterbrant GSterbrant merged commit 7db5775 into main Nov 3, 2022
@GSterbrant GSterbrant deleted the gsterbrant-camera-grab-pass-attributes branch November 3, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants