Adding Material Extensions to glTF Models
April 4, 2024 ยท View on GitHub
By Eric Chadwick, Senior 3D Technical Artist, DGG, @echadwick-artist
This tutorial explains how to edit glTF files using open source software to add material extensions KHR_materials_transmission and KHR_materials_volume to create glass with reflection, refraction, and absorption.
These methods can be repurposed for other material extensions too.
Sample Model
The glTF model used in this tutorial is available in the samples folder.

(Above) GlassHurricaneCandleHolder.gltf with transmission and volume
Table of Contents
- Why add Extensions?
- Using Visual Studio Code
- KHR_materials_transmission and KHR_materials_volume
- Using a Raytracer
- Transmission Limitations
Acknowledgements
- Alexey Knyazev, @lexaknyazev
- Emmett Lalish, @elalish