cargo run -- path/to/frag_shader.wgsl
# change width and height
cargo run -- -w 400 -h 600 path/to/frag_shader.wgsl
- Esc: exit
- Space: reset time and frame
- ↑: increment channel
- ↓: decrement channel
巴山竜来「リアルタイムグラフィックスの数学―GLSLではじめるシェーダプログラミング」
- Rust source code related to wgpu is based on Learn WGPU, which is licensed under the MIT license.
- WGSL source code is based on 巴山竜来「リアルタイムグラフィックスの数学―GLSLではじめるシェーダプログラミング」.