Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
MapMagic World Generator
MapMagic World Generator
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 157
    • Issues 157
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Denis Pahunov
  • MapMagic World GeneratorMapMagic World Generator
  • Wiki
    • Matrixgenerators
  • Normalize

Last edited by Denis Pahunov Mar 03, 2020
Page history

Normalize

Normalize

This generator is used to combine several maps so that their sum is always 1.

Normalize Generator final result depends on the layer order. Layers are blended together similarly to the layer system in Photoshop and other graphics editors: Each of the upper layers overlaps the lower ones. A mathematical algorithm for each layer generator multiplies all underlying layer values with the inverse value (1-value) of the current layer. The sum of the output maps values is always equal to 1.

EffectMaps EffectMaps

Some generators like Biomes Set or Textures Output have a normilizer built-in, but in some cases it would be handy to pre-normalize them manually. In other cases it would be necessary to normalize masks for Mask node, Grass Output or other nodes.

NormalizeGrassNormalizing grass masks

Inputs:

Input in all of the layers - source non-normalized maps.

The Background layer does not require an input since it is regarded as completely filled (a constant of 1). This layer could not be removed or sent up or down.

Outputs:

Map outputs in all if the layers - input maps processed so that any pixel sum of the map values is equal to 1.

Properties:

OpacityEach layer has an Opacity value that multiplies layer's map before applying it.

Clone repository
  • Batch
    • Biomes
    • Combined
    • Objects
    • Splines
    • temp
    • temp1
  • BiomesGenerators
    • BiomesSet
    • Description
    • Function
    • Whittaker
  • Brush
    • Resolution
  • Combine
    • Combined
    • temp
    • temp1
  • MM1
    • Creating a custom generator
View All Pages