Fix T65974 Workbench: transparency rendering broken
This commit is contained in:
parent
2002b29ecd
commit
cbc0ad07b3
Notes:
blender-bot
2023-02-14 03:29:37 +01:00
Referenced by issue #65974, Workbench transparency rendering broken
|
@ -172,6 +172,7 @@ uint workbench_material_get_hash(WORKBENCH_MaterialData *material_template, bool
|
|||
input[3] = (uint)(material_template->roughness * 512);
|
||||
result += BLI_ghashutil_uinthash_v4_murmur(input);
|
||||
|
||||
result += BLI_ghashutil_uinthash((uint)(material_template->alpha * 512));
|
||||
result += BLI_ghashutil_uinthash((uint)is_ghost);
|
||||
result += BLI_ghashutil_uinthash(material_template->color_type);
|
||||
|
||||
|
|
Loading…
Reference in New Issue