/web-renderer-example

An example of a web renderer written on rust using wgpu following the Learn Wgpu tutorial.

Primary LanguageRust

Web renderer on Rust (Example)

This repo contains a functioning example of a small wgpu based web renderer based on the Learn Wgpu tutorial. The proyect is built entierly on Rust as a learning experience. The server is made with axum to serve files and askama for html templating (not really used at the time of writing this).

Cube with UVs Cube with brick texture

How to run

You will need wasm-pack and cargo.

  • To run the renderer as a standalone program use:
cargo run --bin renderer
  • To run the web renderer use:
make run