hirajanwin / three-volumetric-clouds

Volumetric clouds in WebGL (Three.js) following "Nebus, Evolved" by Andrew Schneider at Guerrilla Games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThreeJS Volumetric Clouds

Experimental volumetric clouds in ThreeJS following "Nubis, Evolved" and associated work by Guerrilla Games.

Current implementation is based on the "Envelope Model" described in the presentation. It implements the following:

  • Envelope generation
  • 3D texture of Perlin-worley noise
  • Envelope erosion
  • Ray marching using adaptive sampling
  • Lighting model with Multiscattering and Anisotropic phase function

THIS IS NOT A FULL IMPLEMENTATION and not intended for production use. It is a work in progress and may be abandoned at any time. It is as far as I got in a couple months of work. I may or may not continue working on it in the future.

2024-09-03.20-44-09.mp4

About

Volumetric clouds in WebGL (Three.js) following "Nebus, Evolved" by Andrew Schneider at Guerrilla Games


Languages

Language:TypeScript 97.5%Language:JavaScript 0.9%Language:HTML 0.8%Language:CSS 0.7%