Skip to content

◌ Folio MMXXVII

Loading folio

000

§02.02 — Lab Playground

VolumetricLighting

Raymarching experiments focusing on soft shadows and atmospheric scattering through procedurally-generated fog volumes.

  • Tech

    Three.js · 2027

  • Status

    Live

  • Renderer

    WebGL2 / fallback

  • Updated

    MMXXVII

Live · move the cursor
Three.js · 202760 fps target

◊ Brief

Raymarching through a procedural fog volume. Light shafts come from a single moving sun; soft shadows are sampled along the ray.

  • step count48
  • fog density0.62
  • scattering0.4
  • sun azimuth112°

§README

  1. §01Step count drops to 24 on lower-end devices via a perf budget detector.
  2. §02Use ←/→ to rotate the sun. Hold ⇧ to slow time.