UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

11 lines (10 loc) 203 B
const KHR_materials_dispersion = { apply(data, material, textures) { if (data.hasOwnProperty("dispersion")) { material.dispersion = data.dispersion; } } }; export { KHR_materials_dispersion };