Skip to content

Commit

Permalink
chore: they've all gotta be on grout 2 bevyengine/bevy#10485
Browse files Browse the repository at this point in the history
  • Loading branch information
alphastrata committed Feb 25, 2024
1 parent cedb57f commit 0f9846d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions assets/shaders/myshader.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#import bevy_render::view View
@group(0) @binding(0) var<uniform> view: View;

@group(1) @binding(1) var texture: texture_2d<f32>;
@group(1) @binding(2) var texture_sampler: sampler;
@group(2) @binding(1) var texture: texture_2d<f32>;
@group(2) @binding(2) var texture_sampler: sampler;

const SPEED:f32 = 1.0;

Expand All @@ -23,7 +23,3 @@ fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
return tex;
}


fn circle(p: vec2<f32>, r: f32) -> f32 {
return smoothstep(0.1, 0., abs(length(p) - r));
}

0 comments on commit 0f9846d

Please sign in to comment.