Creates a new Transmission property for use on a Material.
Disables and removes the extension from the Document.
Indicates to the client whether it is OK to load the asset when this extension is not recognized. Optional extensions are generally preferred, if there is not a good reason to require a client to completely fail when an extension isn't known.
Indicates to the client whether it is OK to load the asset when this extension is not recognized. Optional extensions are generally preferred, if there is not a good reason to require a client to completely fail when an extension isn't known.
Made by Don McCurdy • TypeDoc documentation • Copyright 2021 under MIT license
MaterialsTransmission
KHR_materials_transmission
provides a common type of optical transparency: infinitely-thin materials with no refraction, scattering, or dispersion.While default PBR materials using alpha blending become invisible as their opacity approaches zero, a transmissive material continues to reflect light in a glass-like manner, even at low transmission values. When combined with MaterialsVolume, transmission may be used for thicker materials and refractive effects.
Properties:
Example
The
MaterialsTransmission
class provides a single ExtensionProperty type,Transmission
, which may be attached to any Material instance. For example: