Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

noise.cellular

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static float2 cellular(float2 P);

Parameters

Parameter Description
P A point in 2D space.

Returns

float2 Feature points. F1 is in the x component, F2 in the y component.

Description

2D Cellular noise ("Worley noise") with standard 3x3 search window for good feature point values.


Declaration

public static float2 cellular(float3 P);

Parameters

Parameter Description
P A point in 2D space.

Returns

float2 Feature points. F1 is in the x component, F2 in the y component.

Description

3D Cellular noise ("Worley noise") with 3x3x3 search region for good F2 everywhere, but a lot slower than the 2x2x2 version.