Optional
environmentEnvironmentMap to use for IBL shading.
Optional
transmissionTransmission scene background texture descriptor to use if any.
Optional
extensionsThe glTF extensions used to generate this fragment shader.
Optional
addWhether to add the utils functions such as constants or helper functions. Default to true
.
Optional
receiveWhether the shading function should account for current shadows. Default to false
.
Optional
toneWhether the shading function should apply tone mapping to the resulting color and if so, which one. Default to 'Khronos'
.
Optional
useWhether ambient occlusion should be accounted when calculating the shading. Default to false
. If set to true
, a float f32
ambient occlusion value should be passed as the last shading function parameter.
Defines the basic parameters available for the PBR shading getter function.