Parameters used to create the shader chunk.
OptionalextensionsUsed?: GLTFExtensionsUsedextensionsUsed to check if iridescence is enabled.
OptionaliridescenceTexture?: ShaderTextureDescriptorIridescence texture descriptor (using the R channel for intensity and G channel for thickness) to use if any.
OptionaliridescenceFactorTexture?: ShaderTextureDescriptorIridescence factor texture descriptor (using the R channel) to use if any.
OptionaliridescenceThicknessTexture?: ShaderTextureDescriptorIridescence thickness texture descriptor (using the G channel) to use if any.
Set the
iridescence(f32),iridescenceThickness(f32),iridescenceF0(vec3f) andiridescenceFresnel(vec3f) values.