Skip to content

Commit

Permalink
Merge pull request #12 from jakkos-net/readme_update
Browse files Browse the repository at this point in the history
Update readme code examples for newer Bevy versions
  • Loading branch information
johanhelsing authored Jun 16, 2024
2 parents 0eabbad + a11b85d commit 5df134f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ First add the plugin to the Bevy app:

```rust ignore
App::new()
.add_plugin(NoisyShaderPlugin)
.add_plugins(NoisyShaderPlugin)
```

And import it and use it in your shaders, with the same API as on the CPU-side:

```wgsl
#import noisy_bevy simplex_noise_2d
#import noisy_bevy::simplex_noise_2d
// ...
Expand Down

0 comments on commit 5df134f

Please sign in to comment.