API

Class NormalMaterial

Hierarchy (View Summary)

Index
  • Instantiates a Normal 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 NormalMaterial

diffuseColor: any = ...
diffuseTexture: BaseTexture
disableLighting: boolean
maxSimultaneousLights: number