Parameters used to set the diffuseTransmission (f32) and diffuseTransmissionColor (vec3f) values.
OptionalextensionsUsed?: GLTFExtensionsUsedextensionsUsed to check if diffuse transmission is enabled.
OptionaldiffuseTransmissionTexture?: ShaderTextureDescriptorDiffuse transmission texture descriptor (using the RGB channels for color and A channel for intensity) to use if any.
OptionaldiffuseTransmissionFactorTexture?: ShaderTextureDescriptorDiffuse transmission intensity texture descriptor (using the A channel) to use if any.
OptionaldiffuseTransmissionColorTexture?: ShaderTextureDescriptorDiffuse transmission texture descriptor (using the RGB channels) to use if any.
diffuseTransmission (f32) and diffuseTransmissionColor (vec3f) values set.
Set the
diffuseTransmission(f32) anddiffuseTransmissionColor(vec3f) values from the material diffuse transmission variables and eventual diffuse transmission textures.