bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.04k stars 3.44k forks source link

Unsupported supercompression scheme: Zstandard #5660

Open 7flash opened 2 years ago

7flash commented 2 years ago

Bevy version 0.8

[Optional] Relevant system information

AdapterInfo { name: "NVIDIA GeForce RTX 3060", vendor: 4318, device: 9351, device_type: DiscreteGpu, backend: Vulkan }

What you did

Running example https://github.com/bevyengine/bevy/blob/main/examples/3d/skybox.rs

cargo run --features bevy/ktx2 bevy/zstd

What went wrong

It says that cannot render ktx2 files

image

superdump commented 2 years ago

Try cargo run --features bevy/ktx2,bevy/zstd

7flash commented 2 years ago

Same error

Try cargo run --features bevy/ktx2,bevy/zstd

image

superdump commented 2 years ago

That isn’t the same error. GPUs support only specific compressed formats in the hardware itself. Usually desktop GPUs support BCn codecs, and mobile support ASTC and perhaps ETC2. The example cycles through them to show which work on your system.

Your RTX 3060 supports the BC7 texture but not ASTC nor ETC2. That is wholly expected.