1. Home
  2. Docs
  3. Noises
  4. Generators
  5. Const

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

The module constructor needs:

  • Const value : the value to output for any input coordinates.

The output value is a Generation Module

 

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

Was this article helpful to you? Yes No

How can we help?