Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 2.13 KB

File metadata and controls

43 lines (23 loc) · 2.13 KB

Glass Broken Window

Tags

video, extension

Extensions Used

  • KHR_materials_transmission

Summary

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.

Operations

Screenshot

screenshot

Screenshot from the glTF Sample Viewer using the Cannon Exterior lighting environment.

Description

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.

Legal

© 2023, Wayfair. CC BY 4.0 International

  • Eric Chadwick for Entire asset

Assembled by modelmetadata