r/webgpu • • 1h ago

A procedural environment in WebGPU: compute-built grass and indirect draws with Rust

12 Upvotes

This is Wildlands, a test scene for Uverse, the engine I'm developing. The grass, flowers, trees and stones are procedural. The volumetric clouds move and change shape too.

It uses Rust + wgpu and WGSL shaders. Grass blades are rebuilt from seeds on the GPU each frame, while a tiled sky cache spreads the cloud rendering across frames. :)

(and it runs natively as well with Windows/macOS with DirectX 12 and Metal!)

Try the WebGPU demo or natively on your computer!

Check out at Uverse + join waitlist so then you can also try Uverse out! :) -> https://uverse.dev/#waitlist