Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Material Library #6261

Merged
merged 11 commits into from
May 31, 2022
Merged

Material Library #6261

merged 11 commits into from
May 31, 2022

Conversation

dinomut1
Copy link
Member

Adds a bare bones material library and editor UI for overriding Model materials.

To test:

  1. Pull and check out material-component branch
  2. npm run dev and open any scene with a Model in the editor
  3. Select the Model in the Hierarchy panel, and look for "Material Overrides" property. Add 1 override.
  4. Select a Material from the dropdown. Leave the other options at default values
  5. Click "Refresh" button. The model should now have a different shader on it.

Addresses #6224

@speigg speigg merged commit 9323b9a into dev May 31, 2022
@HexaField HexaField deleted the material-component branch May 31, 2022 21:32
@dinomut1 dinomut1 mentioned this pull request Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants