No description
- C# 95.2%
- HLSL 4.8%
- package.json: at.kairoscope.kairoengine.noise-utilities v1.0.0 - Dependency: com.unity.mathematics 1.2.6 - Complete rewrite from CPU (v0.0.2) to GPU compute shaders - Breaking change: API is entirely different from v0.0.2 - Ready for UPM git URL installation |
||
|---|---|---|
| Assets | ||
| Editor | ||
| Runtime | ||
| Shaders | ||
| Tests | ||
| Assets.meta | ||
| ChangeLog.md | ||
| Editor.meta | ||
| package.json | ||
| Readme.md | ||
| Readme.md.meta | ||
| Runtime.meta | ||
| Shaders.meta | ||
| Tests.meta | ||
NoiseUtilities
This package contains a set of utilities to generate noise data in the GPU using compute shaders. It contains a diverse set of noise categories like 1D, 2D, 3D and 4D noise. Each category has many different algorithms like Perlin, Simplex, Value, Periodic, fBM, Billow, Ridged, Worley, Cellular, Warped, Tilled, Derivatives and more.
Installation
Add to your Unity project's Packages/manifest.json:
"at.kairoscope.kairoengine.noise-utilities": "https://forgejo.jamesperet.com/kairoengine/noise-utilities.git"
Or use the Unity Package Manager: Add package from git URL → https://forgejo.jamesperet.com/kairoengine/noise-utilities.git
Breaking Changes from v0.0.2
This is a complete rewrite from CPU-based to GPU compute shader-based noise generation. The API is entirely different:
- Old:
NoiseGeneratorclass with CPU-based sampling - New:
NoiseGenerator2D,NoiseGenerator3D,VoronoiGenerator2D,VoronoiGenerator3Dwith GPU compute shaders NoiseCombinator.cshas been removed (it depended on the old CPU API)- Sirenix Odin dependency removed
- KairoEngine.Core dependency removed
- Only external dependency is
com.unity.mathematics
Noise Types
- Noise2D
- Perlin
- PerlinTilling
- PerlinWarped
- PerlinFbm
- PerlinFbmWarped
- PerlinBillowFbm
- PerlinBillowFbmWarped
- PerlinRidgedFbm
- PerlinRidgedFbmWarped
- Noise3D
- Perlin
- Voronoi2D
- Voronoi
- VoronoiTilling
- Voronoi3D
- Voronoi
Tasks
- Add generate method that uses size to all noise functions
- Fix max number of thread groups in all noise functions
- 3D noise preview
- Add 1D noise
- 1D noise preview
- Add 4D noise
- 4D noise preview