This change adds support for the KHR_materials_dispersion glTF extension, which introduces a dispersion property for refractive materials. The dispersion property controls the angular separation of colors transmitting through a refractive object, allowing for more realistic rendering of materials like glass and diamonds. Changes include: - Added a dispersion property to the material definition. - Updated the shaders to incorporate the dispersion effect in the refraction calculations. - Added a new test case for dispersion. - Updated the material documentation to include the new dispersion property.
118 KiB
118 KiB