Const
Const module outputs a constant value for any input coordinates.
This is the most simple generator, used to create transparent masks or flat heightmaps. This generation module is also often used as an input module for other generation modules.
Node inputs/outputs
Node inputs/outputs
The module constructor needs:
Const value : the value to output for any input coordinates.
The output value is a Generation Module
Examples
Examples
In the following example, 3 different Const noises with 3 different const values.
2D output representation of a const noise with value of -1
2D output representation of a const noise with value of 0
2D output representation of a const noise with value of 1