Playing Around Building a Realistic Campfire with Shaders
WebGPU Pipeline
95 Likes on X

Playing Around Building a Realistic Campfire with Shaders

Curated 3D Web Creative Coding project by @pauloedspinho • 2026-06-29

3D Graphics & Rendering Pipeline

State-of-the-art WebGPU rendering engine delivering high compute shader throughput, reduced CPU overhead, and native multi-pass buffer rendering.

Physics & Dynamic Simulation

Interactive real-time physics engine integration featuring collision detection, rigid body kinematics, and smooth motion damping.

Real-time Performance & Polish

60+ FPS browser execution with instanced rendering, memory-managed geometry buffers, and seamless responsive viewport scaling across desktop and mobile devices.

Aesthetic & Creation Overview

Playing around building a realistic campfire with shaders using
@threejs
and TSL.
It’s looking pretty nice already, but still some work left on the smoke and flame realism.

The latest Three.js fire example is excellent for reference:

https://threejs.org/examples/?q=fire#webgpu_volume_fire

Technical Tags & Categories

Developer Architecture & AI Prompt Engineering Guide

To study or reproduce this 3D web experience with modern AI coding assistants (Claude Code, Cursor, Codex):

# Recommended AI Prompt Template:

"Create an interactive Three.js 3D web experience based on 'Playing Around Building a Realistic Campfire with Shaders'. Implement an antialiased WebGLRenderer with tone mapping, an OrbitControls camera with smooth damping, dynamic lighting with soft shadow mapping, and responsive resize handling. Optimize with InstancedMesh and clean render loops."

  • DevTools Shader & Draw Call Inspection: Press F12 on the demo page to inspect WebGL draw calls, shader programs, and buffer allocations.
  • Creator Devlogs: Follow @pauloedspinho on X for ongoing 3D graphics updates, procedural workflows, and code snippets.

Related 3D Showcases

Explore more interactive Three.js experiments, WebGL shaders, and creative coding