mrdoob's Custom Height Fog example for Three.js WebGPU

By @mrdoob • Curated • 164 likes on X

mrdoob's Custom Height Fog example for Three.js WebGPU Open Live Demo ↗

mrdoob made the Custom Height Fog example for Three.js in a few prompts: fog that gathers near the ground, written as a custom WebGPU fog node. It is one of the official three.js examples, with the source in the repository.

More from @mrdoob

Other projects by mrdoob

More WebGPU Examples

Projects curated around the same time in this topic

All WebGPU Examples →
Speedball GI brings real-time DDGI to Three.js with film emulation 78 Likes

Speedball GI brings real-time DDGI to Three.js with film emulation

clone2k is building Speedball GI, a dynamic global illumination system for Three.js based on DDGI and running on WebGPU. The demo adds film emulation such as halation and gate weave, and the code is on GitHub.

@cl0ne2k
Faraz shows how to use the Three.js WebGPU inspector in R3F 889 Likes

Faraz shows how to use the Three.js WebGPU inspector in R3F

I was asked by many people last week about how to use the new ThreeJS WebGPU inspector and control panel in React-Three-Fiber. Here is how I personally use it: Code: https://github.com/Faraz-Portfolio/demo-2026-r3f-inspector Demo: https://farazzshaikh.com/demos/demo-2026-r3f-inspector/ #threejs #r3f #creativecoding

@CantBeFaraz
Building Generator, an official Three.js WebGPU example 70 Likes

Building Generator, an official Three.js WebGPU example

The Building Generator is an official Three.js WebGPU example that procedurally generates buildings in the browser. The three.js account featured it alongside new examples such as volumetric fire and clustered lighting, and the source is on GitHub.

@threejs
Volumetric Fire Simulation, a new official Three.js WebGPU example 70 Likes

Volumetric Fire Simulation, a new official Three.js WebGPU example

The Volumetric Fire Simulation is a new official Three.js example that simulates and raymarches fire on the GPU with the WebGPU renderer. It was announced alongside clustered lighting and a GPU-driven compute rasterizer, and the source is in the three.js repository.

@threejs
mrdoob's Clustered Lighting example for Three.js WebGPU 220 Likes

mrdoob's Clustered Lighting example for Three.js WebGPU

mrdoob shared the new Clustered Lighting example for Three.js, joking that it looks like an Olafur Eliasson installation. Clustered lighting lets a WebGPU scene use many dynamic lights efficiently, and the source is in the three.js repository.

@mrdoob
mrdoob adds LoftGeometry to Three.js with a new example 102 Likes

mrdoob adds LoftGeometry to Three.js with a new example

mrdoob added a LoftGeometry to the Three.js library, which builds a surface by lofting through a series of shapes, and published an official WebGPU example to try it. The code is in the three.js repository.

@mrdoob
Ekim's Chladni Cymatics turns sound frequencies into patterns 56 Likes

Ekim's Chladni Cymatics turns sound frequencies into patterns

ekim's Chladni Cymatics is a WebGPU web app built with Three.js that shows how audio frequencies arrange particles into Chladni patterns, the shapes sand forms on a vibrating plate. It runs in the browser and the code is on GitHub.

@ekimroyrp
mrdoob's Light Probe Volume example loads a pre-baked Sponza grid 265 Likes

mrdoob's Light Probe Volume example loads a pre-baked Sponza grid

mrdoob added support for loading pre-baked grids to LightProbesGrid in Three.js. The official Sponza example uses a 32×16×16 probe grid of about 504 KB of VRAM to light the scene with baked indirect light on WebGPU.

@mrdoob

Related Three.js Examples

More projects that share this one's topics

All 550+ Three.js examples →
Huisky's Cold Smoke, an endless downhill ski game in one HTML file

Huisky's Cold Smoke, an endless downhill ski game in one HTML file

Cold Smoke is Huisky's calm, endless downhill ski game in the browser: you carve, jump and tuck down a mountain that never repeats while the light changes from morning to night, with weather from clear skies to heavy snow. The whole game is one HTML file of about 1.6 MB, and the mountain, snow, trees, sky, aurora, skier, animals, music and wind are all generated by code, with no image, audio or model files. It renders with WebGPU and falls back to WebGL2, and was built with Claude Fable 5.2 over a few days of play-and-feedback rounds. The source is on GitHub under the MIT license.

@huiskylabs
Manish's project cards bend like film when you scroll fast 193 Likes

Manish's project cards bend like film when you scroll fast

Scroll fast and these project cards bend like a strip of film being pulled through a projector. By @dev_manish93 . https://webgpu.com/daily/curvy-gallery-scroll-shader #threejs #glsl #webgl #shaders #creativecoding

@WebGL_WebGPU
Three.js + LEGO + Procedural Terrain: A LEGO World to Fly Through 851 Likes

Three.js + LEGO + Procedural Terrain: A LEGO World to Fly Through

Three.js + LEGO + procedural terrain = A LEGO world you can fly through I joined the Three.js Journey challenge and honestly had a great time building this project. live: http://lego-stylized-nature.vercel.appgithub https://github.com/hexianWeb/lego-stylized-nature #threejsJourney #webgpu #threejs #createive

@hexian37496562
Ember Flow: Curl Noise in WebGPU and TSL 229 Likes

Ember Flow: Curl Noise in WebGPU and TSL

Ember flow. #threejs A little bit of evening exploring Curl-noise in WebGPU & TSL. Live: https://dasprinzip.com/tinker/day40/ Get the code here: https://github.com/prinzipiell/tsl #indiedev #gamedev #creativecoding #shaders #wgsl #webgpu #glsl #webgl #3d #tsl

@_pwd_