OKAY DEV logo OKAY DEV logo

WebGPU Sponza Graphics Demo

Report

Please review our Community Guidelines for additional information about what is and isn't permitted on Okay Dev.

This is the email we'll use to contact you about your report. Read more about this in our privacy policy.

Upload any files needed to support this report claim. E.g. image, PDF, text, video, or Word document. (Up to 5 files per report, max 10mb file size per file.)

Published by
Georgi Nikolov Avatar
WebGPU Sponza Graphics Demo image 1
WebGPU Sponza Graphics Demo image 2
WebGPU Sponza Graphics Demo image 3
WebGPU Sponza Graphics Demo image 4
Screenshot 0 min
Screenshot 0 min
Screenshot 1 min
Screenshot 2 min

A WebGPU deferred rendering playground written as a personal project to familiarize myself better with the API and explore various rendering techniques. As WebGPU is still considered experimental browser technology certain things might break for you.

Features

  • glTF loading and parsing
  • Physically based shading
  • Cascaded shadow mapping (2 cascades)
  • Deferred Renderer (3 MRT) with culled light volumes using a stencil buffer
  • 400+ dynamic light sources moved in a compute shader
  • Separate forward pass for alpha masked objects (foliage)
  • SSAO
  • Screen Space Reflections with the ability to switch between Hi-Z and Linear raymarching
  • Physically based bloom
  • Temporal Anti-Aliasing (TAA)
  • UI controls to tweak various different rendering parameters
  • Dynamic performance degradation if the framerate dips below 60fps for longer than 2 seconds
  • Mobile support

More Projects

  • Project cover photo
    RAYQUEST
    Georgi Nikolov Avatar
  • Project cover photo
    YOON3D
    Georgi Nikolov Avatar
  • Project cover photo
    Daily Scraps
    Florian Morel Avatar