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

WebGLTextures.js: fix render texture re-uploaded on first use #21455

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

DavidPeicho
Copy link
Contributor

Related issue: https://discourse.threejs.org/t/render-to-datatexture2darray-does-not-work-correctly-is-it-a-bug/24251/5

Description

When rendering to a render target with a custom texture (assigned via setTexture), the version attribute of the texture is updated, but the render target will not save the latest version when creating the GL object.

@mrdoob mrdoob added this to the r127 milestone Mar 12, 2021
@mrdoob mrdoob merged commit 1e4c637 into mrdoob:dev Mar 12, 2021
@mrdoob
Copy link
Owner

mrdoob commented Mar 12, 2021

Thanks!

@mloodberg
Copy link

Thanks indeed!

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