This module randomly displaces the input value before returning the output value from a source module.
Actually, the turbulence modifier uses 3 perlin noises to modify the input module along each axis.
The parameters of the turbulence modifier are the parameters of the 3 perlin noises.
The use of this noise module may require some trial and error. Assuming that you are using a generator module as the source module, you should first:
- Set the frequency to the same frequency as the source module.
- Set the power to the reciprocal of the frequency.
From these initial frequency and power values, modify these values until this noise module produces the desired changes in your terrain or texture. For example:
- Low frequency (1/8 initial frequency) and low power (1/8 initial power) produces very minor, almost unnoticeable changes.
- Low frequency (1/8 initial frequency) and high power (8 times initial power) produces “ropey” lava-like terrain or marble-like textures.
- High frequency (8 times initial frequency) and low power (1/8 initial power) produces a noisy version of the initial terrain or texture.
- High frequency (8 times initial frequency) and high power (8 times initial power) produces nearly pure noise, which isn’t entirely useful.
Output ranges are not modified by this module.
The module constructor needs:
- Frequency : the frequency of perlin modules
- Power: the scaling factor that is applied to the displacement amount
- Roughness : the octave count of perlin modules
The output value is a Generation Module
In all examples, input module is a Checkerboard with frequency of 5.
Frequency = 0.5
Frequency = 1
Frequency = 3
Power = 0.5
Power = 1
Power = 5