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

WebGLMultipleRenderTargets: Fix copy(). #23781

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Conversation

RenaudRohlinger
Copy link
Collaborator

Fixed MRT copy method:

…exture and depthTexture.clone

Fixed MRT copy method:

- texture[i] needed `isRenderTargetTexture = true`
- Aligned the copy method of the depthTexture with WebGLRenderTarget (see mrdoob#23462)
@Mugen87 Mugen87 added this to the r139 milestone Mar 24, 2022
@mrdoob mrdoob modified the milestones: r139, r140 Mar 24, 2022
@Mugen87 Mugen87 merged commit b52c316 into mrdoob:dev Mar 31, 2022
@Mugen87 Mugen87 changed the title WebGLMultipleRenderTargets fix copy method WebGLMultipleRenderTargets: Fix copy(). Mar 31, 2022
@mrdoob
Copy link
Owner

mrdoob commented Mar 31, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…exture and depthTexture.clone (mrdoob#23781)

Fixed MRT copy method:

- texture[i] needed `isRenderTargetTexture = true`
- Aligned the copy method of the depthTexture with WebGLRenderTarget (see mrdoob#23462)
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.

3 participants