diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-05-05 09:12:50 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-05-05 09:12:50 -0400 |
| commit | be2cf936ca48f3d638c3ef01f4e338dfc904c5e3 (patch) | |
| tree | 9fbdbfbf3e0d427f3a6c4bd4c74901e421ef0ad6 /assets/shaders | |
| parent | b35d6cf47ed154697fb45e10586206295148eb35 (diff) | |
| download | systemic4x-be2cf936ca48f3d638c3ef01f4e338dfc904c5e3.tar.gz systemic4x-be2cf936ca48f3d638c3ef01f4e338dfc904c5e3.tar.bz2 systemic4x-be2cf936ca48f3d638c3ef01f4e338dfc904c5e3.zip | |
seperate orbit logic from body
Diffstat (limited to 'assets/shaders')
| -rw-r--r-- | assets/shaders/canvas.wgsl | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/assets/shaders/canvas.wgsl b/assets/shaders/canvas.wgsl deleted file mode 100644 index 3be1a77..0000000 --- a/assets/shaders/canvas.wgsl +++ /dev/null @@ -1,32 +0,0 @@ -struct VertexInput { - @location(0) position: vec3<f32>, - @location(1) uv: vec2<f32> -}; - -struct VertexOutput { - @builtin(position) clip_position: vec4<f32>, - @location(0) uv: vec2<f32> -}; - -@vertex -fn vs_main( - model: VertexInput, -) -> VertexOutput { - var out: VertexOutput; - - out.clip_position = vec4<f32>(model.position, 1.0); - out.uv = model.uv; - - return out; -} - -@group(0) @binding(0) -var canvas_texture: texture_2d<f32>; -@group(0) @binding(1) -var canvas_sampler: sampler; - -@fragment -fn fs_main(in: VertexOutput -) -> @location(0) vec4<f32> { - return textureSample(canvas_texture, canvas_sampler, in.uv); -} |
