MaterialType Default Values Not Initially Applied #5213
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
Indicates a PR lacks a `priority/foo` label and requires one.
sig/graphics-audio
Categorizes an issue or PR as relevant to SIG graphics-audio.
Describe the bug
If you change the default value of a material property in a .materialtype file, that change will not get picked up by .material files of that type.
Steps to reproduce
a. Set metallic defaultValue to 1
b. Set roughness defaultValue to 0
Expected behavior
The model should have looked like shiny chrome the first time around.
Actual behavior
You have to manually force the AP to process the material file in order for the appearance to be updated.
Assets required
Use AtomSampleViewer
Found in Branch
https://github.com/o3de/o3de/tree/stabilization/2110
Additional context
As part of an effort to reduce asset processing times when shader are updated, material build dependencies were loosened. They are now too loose, so materials are not reprocessed when they ought to be.
See also #5215
See also #6594
The text was updated successfully, but these errors were encountered: