Skip to main content
Version: Next

Type Alias: TextureVariationType

TextureVariationType = "none" | "hexTiling" | "waterTiling"

Defined in: packages/rendering/src/rendering/CustomObjectEffectMaterial.ts:29

Technique that hides the repeat of a tiled texture.

  • 'none': the texture is sampled as is.
  • 'hexTiling': cells rotate and shift the texture. Suits ground such as concrete, gravel and grass.
  • 'waterTiling': cells shift the texture without rotating it, so waves keep their direction. A second, larger copy of the texture is blended in and the contrast is kept. Suits water and ocean.