Volumetrics P1: froxel volumetric fog + local volume primitives #718

Closed
opened 2026-10-12 13:15:15 +00:00 by sky_line · 1 comment
Owner

Part of #722 (volumetrics epic).

The foundation every other phase uses.

  • Froxel grid: camera-aligned 3D grid (~160x90x64). Density from all sources (global height fog, haze, local volumes, later particles) is injected, lit once per cell (sun with shadow maps / RT mask, local lights), and integrated front to back; the result is applied to opaque and transparent surfaces.
  • Local volume primitives: boxes / ellipsoids with noise-shaped density, injected into the grid; close up, raymarched directly over the screen tiles they cover for detail.
  • Shared lighting + denoise: our own temporal reprojection and denoise (never relying on TAA / FSR for convergence).
  • Integration: atmosphere / haze, water, the existing godrays pass.
  • GPU-driven compute, async compute where possible; quality setting (grid resolution, steps); budgeted cost (~0.5 ms target on mid-range GPUs).
Part of #722 (volumetrics epic). The foundation every other phase uses. - **Froxel grid:** camera-aligned 3D grid (~160x90x64). Density from all sources (global height fog, haze, local volumes, later particles) is injected, lit once per cell (sun with shadow maps / RT mask, local lights), and integrated front to back; the result is applied to opaque and transparent surfaces. - **Local volume primitives:** boxes / ellipsoids with noise-shaped density, injected into the grid; close up, raymarched directly over the screen tiles they cover for detail. - **Shared lighting + denoise:** our own temporal reprojection and denoise (never relying on TAA / FSR for convergence). - **Integration:** atmosphere / haze, water, the existing godrays pass. - GPU-driven compute, async compute where possible; quality setting (grid resolution, steps); budgeted cost (~0.5 ms target on mid-range GPUs).
sky_line added this to the Slipstream project 2026-10-12 13:15:15 +00:00
Author
Owner

Fixed in 1.4.1 (8bec735ed1). Reopen if you still see it.

Fixed in 1.4.1 (8bec735ed1). Reopen if you still see it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#718
No description provided.