gpu-curtains
    Preparing search index...
    • Set the outgoingLight (vec3f) using Phong shading.

      Parameters

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

        Parameters to use to apply Phong shading.

        • OptionalreceiveShadows?: boolean

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

      Returns string

      • A string with Phong shading applied to outgoingLight.