BCnEncoder.NET icon indicating copy to clipboard operation
BCnEncoder.NET copied to clipboard

Add 3D/volume texture BcEncoder helpers

Open Marlax0 opened this issue 1 year ago • 2 comments

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?

Marlax0 avatar Sep 29 '24 16:09 Marlax0

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.

Nominom avatar Oct 02 '24 09:10 Nominom

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.

Marlax0 avatar Oct 03 '24 02:10 Marlax0