API

Hierarchy (View Summary)

Index
  • Instantiates a Lava 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 LavaMaterial

diffuseColor: any = ...
fogColor: Color3
fogDensity: number = 0.15
lowFrequencySpeed: number = 1
movingSpeed: number = 1
noiseTexture: BaseTexture
speed: number = 1
diffuseTexture: BaseTexture
disableLighting: boolean
maxSimultaneousLights: number
unlit: boolean
  • Parameters

    • mesh: AbstractMesh
    • subMesh: SubMesh
    • OptionaluseInstances: boolean

    Returns boolean