Parameters to use to apply PBR shading.
OptionalreceiveShadows?: booleanWhether the shading function should account for current shadows. Default to false.
OptionalenvironmentMap?: EnvironmentMapEnvironmentMap to use for IBL shading if any.
OptionaltransmissionBackgroundTexture?: ShaderTextureDescriptorTransmission background texture descriptor to use for transmission if any.
OptionalextensionsUsed?: GLTFExtensionsUsedglTF extensions used by the material for specifing shading if any.
outgoingLight.
Set the
outgoingLight(vec3f) using PBR shading.