1.1 KiB
1.1 KiB
wpgu-renderer
A small wgpu renderer written in Rust.
Try it out
Features
- Physically based shading
- (F: Fresnel-Schlick approximation)
- (G: Smith's Schlick-GGX)
- (D: Trowbridge-Reitz GGX)
- glTF models
- 1 realtime pointlight
- Simple wgsl preprocessor for includes
- Works on WASM
TODO:
- 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
- AA
- Texture filtering
- Immediate mode UI (dear imgui, egui)
- Some type of GI (DDGI, VXGI)
References
Assets
- Sponza
- Obtained from KhronosGroup glTF-Sample-Models repository, converted to .glb