Turbulence.SetRoughness

Sets the roughness of the turbulence.

@param roughness The roughness of the turbulence.

The roughness of the turbulence determines the roughness of the changes to the displacement amount. Low values smoothly change the displacement amount. High values roughly change the displacement amount, which produces more "kinky" changes.

Internally, there are three module::Perlin noise modules that displace the input value; one for the @a x, one for the @a y, and one for the @a z coordinate. The roughness value is equal to the number of octaves used by the module::Perlin noise modules.

class Turbulence
void
SetRoughness
()

Meta