diff --git a/README.md b/README.md index da77296..53fccc4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/index.html b/index.html index cff5a73..3cd5676 100644 --- a/index.html +++ b/index.html @@ -12,12 +12,14 @@ padding: 0; background: black; } + canvas { background-color: black; display: block; width: 100vw; height: 100vh; } + #loading { color: white; position: absolute; @@ -29,14 +31,20 @@
-