Skip to content

Conversation

@donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Nov 8, 2023

Adds examples/jsm/helpers/TextureHelper.js, to allow easier debugging of compressed textures and data textures. Includes support for 2D, 3D, array, and cube textures.

Pulled from #26642.

Preview:

screenshot

@mrdoob mrdoob added this to the r159 milestone Nov 9, 2023
@mrdoob mrdoob merged commit ec09a96 into mrdoob:dev Nov 9, 2023
@donmccurdy donmccurdy deleted the feat/texture-helper branch November 9, 2023 04:34
@mrdoob
Copy link
Owner

mrdoob commented Nov 30, 2023

Oh! Any chance we can also add the example in the screenshot?

@donmccurdy
Copy link
Collaborator Author

donmccurdy commented Nov 30, 2023

We'd need to merge #26642 to be able to show the array texture example -- it doesn't yet support everything I wanted (see: #26642 (comment)) but compressed array and cube textures are working. So if there's no regression in the PR, perhaps it's fine to clean that up and merge it without solving the remaining issues first.

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.

2 participants