-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for material variants #4528
Commits on Aug 16, 2022
-
Add support for KHR_materials_variants
The API lives entirely in the GLB container, allowing the user to get the list of variants and apply it to a mesh. The variants are parsed, and the data for the variants are stored on the resource level of the container, thus avoiding any intrusion into any engine types.
Configuration menu - View commit details
-
Copy full SHA for b17724c - Browse repository at this point
Copy the full SHA b17724cView commit details -
Refactored the default material index so it doesn't have to live in t…
…he material itself.
Configuration menu - View commit details
-
Copy full SHA for c6c9c99 - Browse repository at this point
Copy the full SHA c6c9c99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0426d2c - Browse repository at this point
Copy the full SHA 0426d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d7c48e - Browse repository at this point
Copy the full SHA 4d7c48eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b273a0e - Browse repository at this point
Copy the full SHA b273a0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7b340a - Browse repository at this point
Copy the full SHA f7b340aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a33ef55 - Browse repository at this point
Copy the full SHA a33ef55View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b5028 - Browse repository at this point
Copy the full SHA e6b5028View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a55ab - Browse repository at this point
Copy the full SHA 91a55abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83380da - Browse repository at this point
Copy the full SHA 83380daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e18198 - Browse repository at this point
Copy the full SHA 8e18198View commit details -
Created private function to actually apply the material variants inte…
…rnally, as well as debug warn if the variant can't be found.
Configuration menu - View commit details
-
Copy full SHA for 57ea3dc - Browse repository at this point
Copy the full SHA 57ea3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 908e816 - Browse repository at this point
Copy the full SHA 908e816View commit details -
Configuration menu - View commit details
-
Copy full SHA for dac55ee - Browse repository at this point
Copy the full SHA dac55eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8561bcc - Browse repository at this point
Copy the full SHA 8561bccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd691a - Browse repository at this point
Copy the full SHA 9dd691aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c65993e - Browse repository at this point
Copy the full SHA c65993eView commit details -
Added API for resetting variants, which applies to when an invalid va…
…riant is applied as well. Also fixed lint.
Configuration menu - View commit details
-
Copy full SHA for 15ea69e - Browse repository at this point
Copy the full SHA 15ea69eView commit details -
Also provide documentation clarifying that the name is optional, and if not provided resets the material variants.
Configuration menu - View commit details
-
Copy full SHA for 4e42c4f - Browse repository at this point
Copy the full SHA 4e42c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fadf1e1 - Browse repository at this point
Copy the full SHA fadf1e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 825c3c8 - Browse repository at this point
Copy the full SHA 825c3c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3845ae4 - Browse repository at this point
Copy the full SHA 3845ae4View commit details
Commits on Aug 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 10c8224 - Browse repository at this point
Copy the full SHA 10c8224View commit details