Skip to content

Implementation of Worley Noise algorithm for Unity URP. Can generate procedural, tiled 2D and 3D Worley Noise textures using a seed.

Notifications You must be signed in to change notification settings

jushii/WorleyNoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worley Noise for Unity

Implementation of Worley Noise algorithm based on Steven Worley's noise function. Can generate procedural (tiled) 2D and 3D Worley Noise textures with a specified seed.

Includes:

  • A noise generator component for adjusting the noise generation parameters
  • Two compute shaders for generating the noise textures (2D and 3D)
  • Universal Render Pipeline (URP) -friendly shaders for displaying the noise textures

The compute shaders are based on Sebastian Lague's Coding Adventure: Clouds video. The cell feature point distance calculation is slightly different. Also, note that the resulted noise value is inverted in the compute shaders.

Example GIFs

XY offset

Z offset

About

Implementation of Worley Noise algorithm for Unity URP. Can generate procedural, tiled 2D and 3D Worley Noise textures using a seed.

Resources

Stars

Watchers

Forks