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

WebGLRenderer: call setTextureCube and setTexture3D on initTexture #24245

Merged
merged 2 commits into from
Jun 20, 2022

Conversation

action-script
Copy link
Contributor

@action-script action-script commented Jun 18, 2022

Description

Expose setTextureCube and setTexture3D functions at the WebGLRenderer initTexture.
So CubeTextures and Data3DTextures can be loaded on memory at the setup.

Same logic, usability and functionality as the former initTexture but allowing environment maps to also be properly pre-loaded.

@action-script action-script force-pushed the expose-setTexture3D branch 2 times, most recently from 8e4fb11 to c66c1df Compare June 18, 2022 13:09
examples/files.json Outdated Show resolved Hide resolved
@Mugen87 Mugen87 added this to the r142 milestone Jun 20, 2022
@mrdoob mrdoob merged commit c3415d7 into mrdoob:dev Jun 20, 2022
@mrdoob
Copy link
Owner

mrdoob commented Jun 20, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…rdoob#24245)

* WebGLRenderer: call setTextureCube and setTexture3D on initTexture

* Update WebGLRenderer.js

Clean up.

Co-authored-by: Michael Herzog <[email protected]>
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
…rdoob#24245)

* WebGLRenderer: call setTextureCube and setTexture3D on initTexture

* Update WebGLRenderer.js

Clean up.

Co-authored-by: Michael Herzog <[email protected]>
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.

4 participants