threejs-worldgen
    Preparing search index...

    Function getLeafTexture

    • The procedurally drawn card texture for a leaf shape (cached; shared by all leaf materials, never disposed). Alpha is coverage, RGB a grey detail value multiplied by the leaf colour.

      Parameters

      Returns DataTexture