diff options
author | Charlie Jolly <charlie> | 2021-10-14 16:31:34 +0300 |
---|---|---|
committer | Charlie Jolly <mistajolly@gmail.com> | 2021-10-14 16:56:48 +0300 |
commit | 2341ca990c17df7a77d4527a707f7b9e3d5f0f1a (patch) | |
tree | a4d713830ad16e556dbd2c94848531c4435f7f44 /source/blender/blenlib/BLI_noise.hh | |
parent | 55cf9bb5e653ef824cf32aae899437525d1f16e0 (diff) |
Geometry Nodes: Add White Noise texture
Port White Noise shader to geometry nodes.
Reviewed By: JacquesLucke
Differential Revision: https://developer.blender.org/D12719
Diffstat (limited to 'source/blender/blenlib/BLI_noise.hh')
-rw-r--r-- | source/blender/blenlib/BLI_noise.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_noise.hh b/source/blender/blenlib/BLI_noise.hh index 839bee0f2f4..12e7aa57ab0 100644 --- a/source/blender/blenlib/BLI_noise.hh +++ b/source/blender/blenlib/BLI_noise.hh @@ -53,6 +53,15 @@ float hash_float_to_float(float2 k); float hash_float_to_float(float3 k); float hash_float_to_float(float4 k); +float2 hash_float_to_float2(float2 k); + +float3 hash_float_to_float3(float k); +float3 hash_float_to_float3(float2 k); +float3 hash_float_to_float3(float3 k); +float3 hash_float_to_float3(float4 k); + +float4 hash_float_to_float4(float4 k); + /** \} */ /* -------------------------------------------------------------------- */ |