Skip to content

Commit 19e5c74

Browse files
[rs] Merge gfx-rs#664
664: Integrate ETC and ASTC textures in Skybox example r=kvark a=cwfitzgerald Depends on gfx-rs#1074 Converts skybox example to mip-mapped files in: - Bgra8 - Bc1 - ETC2 - ASTC4x4 Looks quite good now with mipmapping and trilinear filtering even at small resolutions. Co-authored-by: Connor Fitzgerald <[email protected]>
2 parents 17b475a + 20689c3 commit 19e5c74

File tree

12 files changed

+78
-81
lines changed

12 files changed

+78
-81
lines changed

wgpu/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ vulkan-portability = ["wgc/gfx-backend-vulkan"]
2626
package = "wgpu-core"
2727
#version = "0.6"
2828
git = "https://github.com/gfx-rs/wgpu"
29-
rev = "9960ded7ae83762e7e84f7f2e8d974b9a38580a1"
29+
rev = "7b886f4b1ed9a739fd0f83b8f0971bf3968d7f67"
3030
features = ["raw-window-handle"]
3131

3232
[dependencies.wgt]
3333
package = "wgpu-types"
3434
#version = "0.6"
3535
git = "https://github.com/gfx-rs/wgpu"
36-
rev = "9960ded7ae83762e7e84f7f2e8d974b9a38580a1"
36+
rev = "7b886f4b1ed9a739fd0f83b8f0971bf3968d7f67"
3737

3838
[dependencies]
3939
arrayvec = "0.5"

wgpu/examples/skybox/images/astc.dds

128 KB
Binary file not shown.

wgpu/examples/skybox/images/bc1.dds

-704 KB
Binary file not shown.

wgpu/examples/skybox/images/bgra.dds

512 KB
Binary file not shown.

wgpu/examples/skybox/images/etc2.dds

64.2 KB
Binary file not shown.

wgpu/examples/skybox/images/negx.png

-309 KB
Binary file not shown.

wgpu/examples/skybox/images/negy.png

-398 KB
Binary file not shown.

wgpu/examples/skybox/images/negz.png

-290 KB
Binary file not shown.

wgpu/examples/skybox/images/posx.png

-250 KB
Binary file not shown.

wgpu/examples/skybox/images/posy.png

-18.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)