wgpu-renderer/README.md

38 lines
1 KiB
Markdown
Raw Normal View History

2023-01-27 22:06:09 +02:00
# wpgu-renderer
A small [wgpu](https://github.com/gfx-rs/wgpu) renderer written in [Rust](https://github.com/rust-lang/rust).
## Features
- Physically based shading
- (F: Fresnel-Schlick approximation)
- (G: Smith's Schlick-GGX)
- (D: Trowbridge-Reitz GGX)
2023-01-27 23:16:33 +02:00
- glTF models
2023-01-28 12:23:43 +02:00
- 1 realtime pointlight
2023-01-27 22:06:09 +02:00
- Simple wgsl preprocessor for includes
2023-01-28 12:23:43 +02:00
- Works on WASM
2023-01-27 22:06:09 +02:00
2023-01-27 23:16:33 +02:00
Things I would like to add:
- Shadow mapping
- Restructuring
- Simplify/abstract renderpasses; will be nice to have for PP and GI
- `src/core/state.rs` is a mess; separate input handling, pipeline, passes
- SSAO
- Bloom
2023-01-28 12:23:43 +02:00
- AA
- Texture filtering
2023-01-27 23:16:33 +02:00
- Immediate mode UI (dear imgui, egui)
- Editing material properties, lights at runtime through UI
- Some type of GI (DDGI, VXGI)
2023-01-27 22:06:09 +02:00
## References
- [Learn Wgpu](https://sotrh.github.io/learn-wgpu/)
2023-01-28 12:23:43 +02:00
- [wgpu examples](https://github.com/gfx-rs/wgpu/blob/master/wgpu/examples)
2023-01-27 22:06:09 +02:00
- [Learn OpenGL](https://learnopengl.com/)
2023-01-28 12:23:43 +02:00
- PBR
2023-01-27 23:16:33 +02:00
## Assets
- Sponza
- Obtained from [KhronosGroup glTF-Sample-Models repository], converted to .glb