The Best of WebGPU in April 2024
As April 2024 arrives, the WebGPU ecosystem keeps advancing, enabling impressive graphics and interactive web experiences. Let's explore some innovative projects showcasing WebGPU's potential this month.
Last updated: April 12, 2024LGL Tracer v3: Ray Tracing on the Web
Ray tracing is a rendering technique that simulates light behavior in virtual scenes, producing highly realistic visuals. LGL Tracer v3, a ray tracing engine for the web, has launched, supporting WebGPU and WebGL.
Ray tracing calculates how light rays interact with virtual objects, including reflections, refractions, and shadows. This approach creates photorealistic graphics, making scenes look almost indistinguishable from photographs.
Check out the live demo at https://lgltracer.com/viewer/index.html and experience the future of web graphics.
Temple WebGPU Demo
WonderInteractive managed to get the Unreal Engine 5 working on the web.
It's a small game with amazing visuals but takes quite some time to load and needs a powerful device.
Check it out at https://temple.tiwsamples.com/.
Remove Background with WebGPU
Bria has released a web-based tool for removing backgrounds from images, powered by WebGPU (https://huggingface.co/spaces/Xenova/remove-background-webgpu). This application leverages WebGPU for fast and efficient image processing in your browser.
While it may take a moment to start up, the tool quickly becomes responsive, allowing you to remove backgrounds from your images with just a few clicks. However, like many machine learning applications, it may struggle with non-human subjects or blurred areas.
Voxel Video Experiments with WebGPU
Jeremie Pelletier, known as Lambda_Coder on X, has been sharing amazing voxel video experiments running on WebGPU. Voxels are three-dimensional pixels used to create detailed 3D models and environments.
Pelletier's work demonstrates WebGPU's potential in rendering complex voxel-based scenes, opening up new possibilities for immersive and visually striking web experiences.
A Simple WebGPU Library
Samuel M. Bednarz, known as @metruzanca on X, is working on a simple WebGPU library. This open-source project aims to provide developers with an accessible way to harness WebGPU, making it easier to create high-performance graphics and interactive applications for the web.
"Railroad Scheduler" - A WebGPU-powered Game
Coffé Junk Studio has entered the Gamedev.js Jam 2023 with their WebGPU-powered game, 'Railroad Scheduler.' In this experience, you'll take control of time, becoming the ultimate train dispatcher. Challenge your strategic thinking skills as you navigate train scheduling, all within your web browser.
Play the game at https://coffejunkstudio.itch.io/railroad-scheduler and experience the future of web-based gaming powered by WebGPU.
Conclusion
WebGPU is rapidly transforming web graphics and interactive experiences, from photorealistic rendering to immersive 3D environments, background removal tools, and games.
Stay tuned for more exciting WebGPU developments as we continue pushing the boundaries of what's achievable on the web.