Disable shadowmapping on WebGL
This commit is contained in:
parent
2616b2f5c9
commit
ccaf9261cc
7 changed files with 67 additions and 45 deletions
|
@ -4,7 +4,8 @@ A small [wgpu](https://github.com/gfx-rs/wgpu) renderer written in [Rust](https:
|
|||
|
||||
## Try it out
|
||||
[rasanen.dev/wgpu-renderer](https://rasanen.dev/wgpu-renderer)
|
||||
Note: the .wasm is about 50 MB because it embeds Sponza.
|
||||
Note: the .wasm is about 50 MB because it embeds Sponza.
|
||||
Note: shadowmaps are not enabled on WebGL.
|
||||
|
||||
Controls:
|
||||
- WASD - Move horizontally
|
||||
|
@ -18,8 +19,8 @@ Controls:
|
|||
- PBS
|
||||
- glTF models
|
||||
- 1 realtime pointlight
|
||||
- Shadow mapping
|
||||
- Soft shadows
|
||||
- Shadow mapping*
|
||||
- Soft shadows*
|
||||
- Simple wgsl preprocessor for includes
|
||||
- Runs on WASM and native desktop
|
||||
- Tested on:
|
||||
|
@ -28,6 +29,8 @@ Controls:
|
|||
- `Firefox 109.0`
|
||||
- `Chrome 109.0.5414.120`
|
||||
|
||||
*Native only
|
||||
|
||||
TODO:
|
||||
- Transparency
|
||||
- Restructuring
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue