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