Gorilla.Material.SplatMap

Unit Gorilla.Material.SplatMap.pas

Classes

Constants

  • const GORILLA_SPLATMAP_TEXTURES : Integer = $4;
  • const GORILLA_GLSL_DEFINE_SPLATMAP : string = "SPLATMAP";
  • const GORILLA_MATERIAL_TEXTURE : string = "SplatTexture%%d";

TGorillaSplatMapMaterial

A SplatMap material renders maximum 4 textures overlayed depending on the supplied splatmap texture which is used as control element.

Remarks

To use more than 4 overlayed textures, please apply mulitple TGorillaSplatMapMaterialSource instances to a TGorillaLayeredMaterialSource.

Of course the each splatmap should have the valid transparency settings, otherwise layered material shader would overwrite pixels.

Ancestors

Members

TGorillaSplatMapMaterialSource

A SplatMap material renders maximum 4 textures overlayed depending on the supplied splatmap texture which is used as control element.

Remarks

To use more than 4 overlayed textures, please apply mulitple TGorillaSplatMapMaterialSource instances to a TGorillaLayeredMaterialSource.

Of course the each splatmap should have the valid transparency settings, otherwise layered material shader would overwrite pixels.

Ancestors

Members

Methods

Properties