API

Function BindFogParameters

  • Binds the fog information from the scene to the effect for the given mesh.

    Parameters

    • scene: Scene

      The scene the lights belongs to

    • Optionalmesh: AbstractMesh

      The mesh we are binding the information to render

    • Optionaleffect: Effect

      The effect we are binding the data to

    • linearSpace: boolean = false

      Defines if the fog effect is applied in linear space

    Returns void