Skip to content

Add support for KHR_materials_emissive_strength, KHR_materials_ior.#21

Open
jasondavies wants to merge 3 commits intoChaosGroup:mainfrom
jasondavies:khr_material_emissive_strength
Open

Add support for KHR_materials_emissive_strength, KHR_materials_ior.#21
jasondavies wants to merge 3 commits intoChaosGroup:mainfrom
jasondavies:khr_material_emissive_strength

Conversation

@jasondavies
Copy link
Copy Markdown
Contributor

This also fixes support for emissive factor without emissive texture.

Fixes #14.

@jasondavies jasondavies marked this pull request as draft October 5, 2023 10:23
@jasondavies jasondavies force-pushed the khr_material_emissive_strength branch from a85f252 to ca4410a Compare October 5, 2023 10:23
@jasondavies jasondavies changed the title Add support for KHR_material_emissive_strength. Add support for KHR_materials_emissive_strength, KHR_materials_ior. Oct 5, 2023
@jasondavies jasondavies force-pushed the khr_material_emissive_strength branch from e993c58 to f3fe411 Compare October 5, 2023 12:18
@jasondavies jasondavies marked this pull request as ready for review October 12, 2023 14:22
@jasondavies
Copy link
Copy Markdown
Contributor Author

The KHR_materials_emissive_strength part has already been accepted and merged to model-viewer: google/model-viewer#4509

I suspect there's still some work to be done before KHR_materials_ior is actually working properly e.g. for the dragon test, but at least refract_ior can be set using this patch.

This is ready for review/merge; the other extensions can be done in a separate PR.

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.

KHR_material_emissive_strength: missing extension support

1 participant