- KHR_materials_transmission
This asset demonstrates the combination of two transparency methods in glTF: KHR_materials_transmission for glass and alphaMode:'MASK' for holes in the broken glass.
- Display in SampleViewer
- Download GLB
- Model Directory
Screenshot from the glTF Sample Viewer using the Cannon Exterior lighting environment.
This asset demonstrates the combination of two transparency methods in glTF: KHR_materials_transmission for glass and alphaMode:"MASK" for holes in the broken glass.
alphaMode:"MASK"
is designed to represent the visibility of a glTF material which works well for the missing pieces of glass and the cracks between the shards.
KHR_materials_transmission
is the recommended method for reproducing refractive materials such as glass or water. This extension allows light to transmit through a surface in a physically-plausible manner.
The material uses a Metallic texture to simulate the strong refractions usually seen along the edges of broken window glass. While this is not physically accurate it does help compensate for the lack of true geometry. Colored edges in the baseColorTexture also help to colorize the broken edges.
© 2023, Wayfair. CC BY 4.0 International
- Eric Chadwick for Entire asset