Skip to content

Commit

Permalink
fix: update some cheat-sheet links (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
saiefelgebali committed Sep 13, 2024
1 parent ec03d7d commit 66fbaaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bevy-shaders-cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ ______________________________________________________________________
# get-data-into-your-shader

If none of that makes sense: I wrote a [blog-post](https://jeremyfwebb.ninja/src/blog_posts/wgsl_basics), on this.
Take this shader code [dotted-line-shader](https://github.com/alphastrata/shadplay/blob/develop/assets/shaders/dotted_line.wgsl)
Then use this [rust-binding-code](https://github.com/alphastrata/shadplay/blob/develop/src/shader_utils.rs). (copied below for the lazy)
Take this shader code [dotted-line-shader](https://github.com/alphastrata/shadplay/blob/main/assets/Gallery/lines/dotted_line.wgsl)
Then use this [rust-binding-code](https://github.com/alphastrata/shadplay/blob/main/src/shader_utils/mod.rs#L70). (copied below for the lazy)

```rust
// in src/YOURMODULE.rs
Expand Down

0 comments on commit 66fbaaf

Please sign in to comment.