This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
CultMath/THIRD-PARTY-NOTICES.md

1.1 KiB

Third-Party Notices

Advanced Terrain Erosion Filter

src/CultMath/AdvancedErosionFilter.cs and shaders/AdvancedErosionFilter.hlsl adapt the mathematical procedure from Rune Skovbo Johansen's Advanced Terrain Erosion Filter:

The CultMath files retain the MPL notice and separate the faithful planar filter from CultMath's spherical adaptation. Modifications include C#/HLSL type lowering, explicit bounded octave counts, finite zero-rounding behavior, and CultMath naming. CultMath replaces the reference floating hash with a shared integer avalanche hash so C# and GPU evaluation select identical cell pivots across devices; this changes the stochastic pattern, not the filter mechanics.

The technique builds on earlier work credited by the upstream author to Fewes and Clay John. The hash form follows the public shader math of Inigo Quilez.