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

Compressed texture 3d #21974

Closed
wants to merge 3 commits into from
Closed

Conversation

mbredif
Copy link
Contributor

@mbredif mbredif commented Jun 10, 2021

Related issue: #21942 (follow up)

Description

This is a work in progress to enable better support for compressed 3D textures and compressed 2D texture arrays.
I leave it here so that anybody interested in these features could start from this preliminary work.

As an alternative to a utils.isCompressed(internalformat) function, a simpler alternative could be to add a texture.isCompressed property, giving the responsability to set it up to the user.

@alexpineda
Copy link

Being unfamiliar with three.js internals, how far away is this implementation from being able to be utilized? I'm presently in need of something like since I'm loading a large set of tiles for a tileset and each tile is a separate DDS texture.

@Mugen87
Copy link
Collaborator

Mugen87 commented Oct 29, 2022

CompressedArrayTexture as the compressed counterpart of DataArrayTexture was added via #24745 and is available since r146.

I think I would be good to follow this pattern and add Compressed3DTexture to finalize the compressed texture support in the engine. /cc @RenaudRohlinger

@Mugen87 Mugen87 closed this Oct 29, 2022
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