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

WebGPURenderer: Resize breaks post FX setup in webgpu_rtt example #27466

Closed
RenaudRohlinger opened this issue Dec 29, 2023 · 1 comment
Closed

Comments

@RenaudRohlinger
Copy link
Collaborator

RenaudRohlinger commented Dec 29, 2023

Description

When using a quadMesh to perform a post FX render any resize of the window will break the renderer and render a black screen.
I suspect the texture of the new FBO to not be properly bind back once the previous one was destroyed.

Reproduction steps

  1. Run the webgpu_rtt.html example under the WebGL Backend.
  2. Resize the window

Live example

Version

r160

@RenaudRohlinger RenaudRohlinger changed the title WebGPURenderer: Resize breaks post FX setup in webgpu_multiple_rendertargets example WebGPURenderer: Resize breaks post FX setup in webgpu_rtt example Dec 30, 2023
@RenaudRohlinger
Copy link
Collaborator Author

I fixed it on my local. Will push a bit later as I added MSAA support to the WebGLBackend and fixed that issue in the process and I would like to make a better demo.
It was related to the fact the framebuffers were never cleared. 👍

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

No branches or pull requests

3 participants