Table of Contents

Property HeightMap

Namespace
Pinwheel.Griffin
Assembly
Pinwheel.Polaris.Runtime.dll

HeightMap

Direct reference to the height map texture. It embeds 3 values in 4 color channels as follow:

  • RG: Encoded height value.
  • B: Additional subdivision. This value will add more polygon upon default subdivision based on height map detailness.
  • A: Holes. polygons where this value is >=0.5 will be removed and become holes. See Polaris.EncodeHeightMapSample() and Polaris.DecodeHeightMapSample().
public Texture2D HeightMap { get; }

Property Value

Texture2D