Skip to content

Add 3D/volume texture BcEncoder helpers #70

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

Open
Marlax0 opened this issue Sep 29, 2024 · 2 comments
Open

Add 3D/volume texture BcEncoder helpers #70

Marlax0 opened this issue Sep 29, 2024 · 2 comments

Comments

@Marlax0
Copy link

Marlax0 commented Sep 29, 2024

I see there are helpers for cube maps like BcEncoder.EncodeCubeMapToDds, but I don't see anything for 3D/volume textures.

Is it possible to encode 3D textures using other aspects of the API?
Is there an example somewhere?

@Nominom
Copy link
Owner

Nominom commented Oct 2, 2024

Hi!

The raw encoding apis should be able to used for 3D textures, but you'll have to form the file yourself, which is a bit of an extra hassle.

I don't think I have a good example anywhere for this, though.

@Marlax0
Copy link
Author

Marlax0 commented Oct 3, 2024

Hi!

The raw encoding apis should be able to used for 3D textures, but you'll have to form the file yourself, which is a bit of an extra hassle.

I don't think I have a good example anywhere for this, though.

Thanks. I actually did end up just going with my own texture file format using EncodeToRawBytes. Works great.

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

No branches or pull requests

2 participants