donmccurdy / glTF-Transform

glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
https://gltf-transform.dev
MIT License
1.3k stars 145 forks source link

Add KHR_materials_dispersion #1262

Closed donmccurdy closed 4 months ago

donmccurdy commented 4 months ago

"KHR_materials_dispersion defines dispersion on a glTF PBR material. Dispersion enables configuring the strength of the angular separation of colors (chromatic aberration) transmitting through a relatively clear volume. It is an enhancement to the default KHR_materials_volume transmission model which assumes no dispersion."

khr-materials-dispersion

Figure: Prisms demonstrating volumetric refraction and dispersion, for varying values of dispersion and IOR. Source: Khronos Group, rendered in Adobe Stager.

Remaining:

donmccurdy commented 4 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.