diff --git a/scripts/reset-2d.py b/scripts/reset-2d.py index 68bb8df..460986e 100644 --- a/scripts/reset-2d.py +++ b/scripts/reset-2d.py @@ -13,7 +13,7 @@ const SPEED:f32 = 1.0; @fragment -fn fragment(in: MeshVertexOutput) -> @location(0) vec4 { +fn fragment(in: VertexOutput) -> @location(0) vec4 { // ensure our uv coords match shadertoy/the-lil-book-of-shaders var uv = (in.uv * 2.0) - 1.0; let resolution = view.viewport.zw; diff --git a/scripts/reset-3d.py b/scripts/reset-3d.py index c8ba8cc..f1b2a45 100644 --- a/scripts/reset-3d.py +++ b/scripts/reset-3d.py @@ -16,7 +16,7 @@ const SPEED:f32 = 1.0; @fragment -fn fragment(in: MeshVertexOutput) -> @location(0) vec4 { +fn fragment(in: VertexOutput) -> @location(0) vec4 { // ensure our uv coords match shadertoy/the-lil-book-of-shaders let texture_uvs = in.uv;