wip skybox loading

This commit is contained in:
2025-11-02 12:29:00 -05:00
parent b40fce40a5
commit 3ed3fbd38a
6 changed files with 59 additions and 32 deletions

BIN
assets/sky-test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -4,7 +4,8 @@
@group(0) @binding(1) var output: texture_storage_2d<rgba32float, write>;
@group(0) @binding(2) var<uniform> config: TracerUniforms;
@group(0) @binding(3) var skybox_texture: texture_cube<f32>;
@group(0) @binding(4) var skybox_sampler: sampler;
struct View {
view_proj: mat4x4<f32>,