@kognifai/cogsengine
    Preparing search index...

    Enumeration BasicTerrainElevationChannelConst

    Specifies which color channel to use for elevation data. Note that Alpha is not gamma-corrected, while RGB is. If you struggle with gamma applied to elevation values from a PNG, try using the alpha channel.

    Index

    Enumeration Members

    Enumeration Members

    Alpha: 1

    Fetch elevation from alpha channel of elevation texture.

    Red: 0

    Fetch elevation from red channel of elevation texture.

    RedGreenBlue: 2

    Concatenate bits from red, green and blue channels.