API

Class TriPlanarMaterial

Hierarchy (View Summary)

Index
  • Instantiates a TriPlanar Material in the given scene

    Parameters

    • name: string

      The friendly name of the material

    • Optionalscene: any

      The scene to add the material to

    • forceGLSL: boolean = false

      Use the GLSL code generation for the shader (even on WebGPU). Default is false

    Returns TriPlanarMaterial

diffuseColor: any = ...
mixTexture: BaseTexture
specularColor: any = ...
specularPower: number = 64
tileSize: number = 1
diffuseTextureX: BaseTexture
diffuseTextureY: BaseTexture
diffuseTextureZ: BaseTexture
disableLighting: boolean
maxSimultaneousLights: number
normalTextureX: BaseTexture
normalTextureY: BaseTexture
normalTextureZ: BaseTexture