working wasm build

This commit is contained in:
Lauri Räsänen 2023-01-28 12:23:43 +02:00
parent dc3bd2a433
commit 1dc6565a26
6 changed files with 125 additions and 37 deletions

View file

@ -9,8 +9,9 @@ A small [wgpu](https://github.com/gfx-rs/wgpu) renderer written in [Rust](https:
- (G: Smith's Schlick-GGX)
- (D: Trowbridge-Reitz GGX)
- glTF models
- 1 realtime light
- 1 realtime pointlight
- Simple wgsl preprocessor for includes
- Works on WASM
Things I would like to add:
- Shadow mapping
@ -19,13 +20,17 @@ Things I would like to add:
- `src/core/state.rs` is a mess; separate input handling, pipeline, passes
- SSAO
- Bloom
- AA
- Texture filtering
- Immediate mode UI (dear imgui, egui)
- Editing material properties, lights at runtime through UI
- Some type of GI (DDGI, VXGI)
## References
- [Learn Wgpu](https://sotrh.github.io/learn-wgpu/)
- [wgpu examples](https://github.com/gfx-rs/wgpu/blob/master/wgpu/examples)
- [Learn OpenGL](https://learnopengl.com/)
- PBR
## Assets
- Sponza