Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for KHR_materials_dispersion #246

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Implement support for KHR_materials_dispersion #246

merged 1 commit into from
Feb 19, 2024

Conversation

zeux
Copy link
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
3 checks passed
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