Set the outgoingLight (vec3f) using Lambert shading.

  • Parameters

    • parameters: { receiveShadows?: boolean } = {}

      Parameters to use to apply Lambert shading.

      • OptionalreceiveShadows?: boolean

        Whether the shading function should account for current shadows. Default to false.

    Returns string

    • A string with Lambert shading applied to outgoingLight.