API

Function BindIBLParameters

  • Update parameters for IBL

    Parameters

    • scene: Scene

      The scene

    • defines: any

      The list of shader defines for the material

    • ubo: UniformBuffer

      The uniform buffer to update

    • reflectionColor: Color3

      The color to use for the reflection

    • reflectionTexture: Nullable<BaseTexture> = null

      The IBL texture

    • realTimeFiltering: boolean = false

      Whether realtime filtering of IBL texture is being used

    • supportTextureInfo: boolean = false

      Whether the texture info is supported

    • supportLocalProjection: boolean = false

      Whether local projection is supported

    • usePBR: boolean = false

      Whether PBR is being used

    • supportSH: boolean = false

      Whether spherical harmonics are supported

    • useColor: boolean = false

      Whether to use the reflection color

    • reflectionBlur: number = 0

      The level of blur of the reflection

    Returns void