Gorilla.Material.Terrain

Unit Gorilla.Material.Terrain.pas

Classes

Constants

  • const GORILLA_GLSL_DEFINE_TERRAINMAP : string = "TERRAINMAP";

TGorillaTerrainTexture

The terrain texture is a collection item with properties to configure rendering in the TGorillaTerrainMaterial shader.

Remarks

Because the shader renders specific textures on specific heights and handles smooth transitions between those, we need to have configuration possibilities.

Ancestors

Members

Fields

Methods

Properties

TGorillaTerrainBitmap

The terrain bitmap is a collection item with properties to configure rendering in the TGorillaTerrainMaterial shader.

Remarks

Because the shader renders specific textures on specific heights and handles smooth transitions between those, we need to have configuration possibilities.

Ancestors

Members

Fields

Methods

Properties

TGorillaTerrainBitmapPool

The terrain bitmap pool is a collection of bitmaps with settings for rendering those in the TGorillaTerrainMaterial shader.

Ancestors

Members

TGorillaTerrainMaterialSource

The terrain material source provides a shader for rendering textures from a pool of sources depending on the vertex y-position.

Remarks

Add multiple TGorillaTerrainBitmap instance to the bitmap pool by calling Bitmaps.Add() as TGorillaTerrainBitmap. You can then configure the min and max y-position, the low and high transition value and a tiling.

Ancestors

Members