Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

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

Notifications You must be signed in to change notification settings

FarazzShaikh/three-volumetric-clouds

Repository files navigation

ThreeJS Volumetric Clouds

I know this code is bad, it was not meant to be release but i did anyway.

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

Resources

Stars

Watchers

Forks

Languages