When a user switches from workbench to eevee and the material uses the
same CD's as workbench the materials weren't updated making the
viewport rendering incorrect.
Details
Details
- Reviewers
Clément Foucault (fclem) - Maniphest Tasks
- T72161: Material Attribute Node in Linear Space
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- T72161 (branched from master)
- Build Status
Buildable 5902 Build 5902: arc lint + arc unit
Event Timeline
Comment Actions
Another solution would be use a different set of auto_layer_* fields for the surface batch. Surface batches only have a single active layer. But that needs a lot of refactoring.
| source/blender/draw/intern/draw_cache_impl_mesh.c | ||
|---|---|---|
| 790 | What I would prefer, store the cd mask the layer names were generated against. Just reset the mask to 0 if the names are discarded. Much more descriptive and less error prone. | |
Comment Actions
An alternative solution was implemented which removes the need of the srgb uniforms 6eaf51ef3e5b.