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

WebGLRenderTarget: Clone depthTexture in copy() #23462

Merged
merged 1 commit into from
Feb 11, 2022
Merged

WebGLRenderTarget: Clone depthTexture in copy() #23462

merged 1 commit into from
Feb 11, 2022

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Feb 11, 2022

Fixed: #22938

Description

See #22938 (comment)

@mrdoob mrdoob added this to the r138 milestone Feb 11, 2022
@mrdoob
Copy link
Owner Author

mrdoob commented Feb 11, 2022

@amodiopescefaro @ChaiGusto I'm not sure this solves the issue...

@mrdoob
Copy link
Owner Author

mrdoob commented Feb 11, 2022

Well, it sure seems like the right fix to me but https://jsfiddle.net/zhmoekwa/ still shows this:

Screen Shot 2022-02-11 at 10 39 52 AM

I think that's a different issue.

@mrdoob mrdoob merged commit 1b184ae into dev Feb 11, 2022
@mrdoob mrdoob deleted the rendertarget branch February 11, 2022 15:41
donmccurdy pushed a commit to donmccurdy/three.js that referenced this pull request Mar 10, 2022
RenaudRohlinger added a commit to RenaudRohlinger/three.js that referenced this pull request Mar 24, 2022
…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 pushed a commit that referenced this pull request Mar 31, 2022
…exture and depthTexture.clone (#23781)

Fixed MRT copy method:

- texture[i] needed `isRenderTargetTexture = true`
- Aligned the copy method of the depthTexture with WebGLRenderTarget (see #23462)
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)
qiweicao pushed a commit to qiweicao/three.js that referenced this pull request Apr 9, 2024
nianxy pushed a commit to qiweicao/three.js that referenced this pull request Apr 10, 2024
nianxy pushed a commit to oppenfuture/three.js that referenced this pull request Apr 10, 2024
* WebGLMultipleRenderTargets: Add Options to Constructor (mrdoob#22772)

* WebGLMultipleRenderTargets: Add Options to Constructor

* Update WebGLMultipleRenderTargets Documentation with new options

* Add line break

* WebGLMultipleRenderTargets: Use default parameter.

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>

* WebGLRenderTarget: Clone depthTexture in copy(). (mrdoob#23462)

* Remove WebGLMultisampleRenderTarget. (mrdoob#23455)

* Remove WebGLMultisampleRenderTarget.

* THREE.Legacy.js: Add WebGLMultisampleRenderTarget.

* Exampels: Clean up.

* WebGLRenderer: Use multisampling when possible without reporting errors.

* Update WebGLRenderer.js

Co-authored-by: mrdoob <info@mrdoob.com>

* WebGLTextures: Fix depth textures with multisampling. (mrdoob#23611)

* WebGLRenderer: Fix setRenderTargetTextures(). (mrdoob#23644)

* fix transmission use multisample rtt error

* delete type definition of WebGLMultisampleRenderTarget

---------

Co-authored-by: Johnathon Selstad <makeshifted@gmail.com>
Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
Co-authored-by: mrdoob <info@mrdoob.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
1 participant