Skip to content

Conversation

aardgoose
Copy link
Contributor

Related issue: #27400

Multiple RenderTargets may map to a single RenderContext so we can't cache framebuffers by RenderContext. Pass RenderTarget to use as cache key for framebuffers. Exposed by the compute_snow example which otherwise works with #27367.

Also add missing temporary framebuffer deletion.

@aardgoose aardgoose marked this pull request as ready for review December 20, 2023 14:32
@aardgoose aardgoose changed the title WebGPURenderer: bug fixes for WebGLBsackend WebGPURenderer: bug fixes for WebGLBackend Dec 20, 2023
@sunag sunag added this to the r160 milestone Dec 20, 2023
@sunag sunag merged commit 4acb780 into mrdoob:dev Dec 20, 2023
@aardgoose aardgoose deleted the webgl-rt-fix branch December 20, 2023 20:31
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
Co-authored-by: aardgoose <angus.sawyer@email.com>
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.

2 participants