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

Allow post processes on cameras with output render targets #9109

Merged
merged 4 commits into from Oct 7, 2020
Merged

Allow post processes on cameras with output render targets #9109

merged 4 commits into from Oct 7, 2020

Conversation

RaananW
Copy link
Member

@RaananW RaananW commented Oct 7, 2020

XR renders the renderOutputTarget of the camera directly to the device. This was ignored when the post process manager finalized the frame on the XR camera.

To avoid back-compat issues, only rig cameras that have renderOutputTarget defined (i.e. XR cameras) will have the output set to its internal texture..

My recommendation, however, will be to apply this to each camera with a renderOutputTarget. unless I am missing something, this should be the default behavior.

Closing #9038

@RaananW RaananW changed the title [XR] allow post processes on XR rig cameras Allow post processes on cameras with output render targets Oct 7, 2020
@deltakosh deltakosh merged commit 9940b13 into BabylonJS:master Oct 7, 2020
@RaananW RaananW deleted the outputRenderTargetXR branch October 7, 2020 16:23
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.

None yet

2 participants