pixels/examples/custom-shader/shaders
Jay Oster c2454b01ab
Simplify vertex attributes (#228)
- Vertex UVs can be computed from the positions, which saves a small amount of code and a small amount of bandwidth (both inconsequential).
- This is mostly for readability.
- Fixes vertically-flipped pixel buffer in the `custom-shader` example.
2021-11-20 14:06:23 -08:00
..
noise.wgsl Simplify vertex attributes (#228) 2021-11-20 14:06:23 -08:00