Skip to content

Implement support for KHR_materials_dispersion#246

Merged
jkuhlmann merged 1 commit intojkuhlmann:masterfrom
zeux:master
Feb 19, 2024
Merged

Implement support for KHR_materials_dispersion#246
jkuhlmann merged 1 commit intojkuhlmann:masterfrom
zeux:master

Conversation

@zeux
Copy link
Copy Markdown
Contributor

@zeux zeux commented Feb 16, 2024

This extension is structurally similar to KHR_materials_ior in that it's just a float, no textures or any other parameters.

Specification:
https://github.com/KhronosGroup/gltf/tree/main/extensions/2.0/Khronos/KHR_materials_dispersion

Tested end-to-end in gltfpack (zeux/meshoptimizer#660) plus tested via test_write_glb by taking the example from KhronosGroup/glTF#2340 (comment), using test_write_glb to convert it to a new .glb file and loading the resulting file in Babylon.JS sandbox.

@jkuhlmann jkuhlmann merged commit de39988 into jkuhlmann:master Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants