Chapters:
- Basics of wgpu
- Tracing rays (with compute shaders)
- Bringing it to the web (with WebAssembly)
Checkout the respective branch for the chapter you are currently working on (ch1, ch2 or ch3).
Tasks:
- Try running the application with
cargo run
to ensure your setup is working. - Implement methods in
src/application.rs
Application::new
Application::render
Application::resize
- Every method has an enumerated list of tasks required to finish the implementation.
- After every method, try running your application to check for validation errors.
- Implement the shader in
src/application.wgsl
- The shader lists the required tasks that are needed to complete the implementation.
- Try to get creative and find out what else you can draw using just the fragment shader.