Blender 2.80-2.83 supports additive blending, so FillMaterialProps will catch that if present

This commit is contained in:
William Herald Snyder 2022-10-04 07:54:25 -04:00
parent 56f6ce6940
commit b2bd9c8316
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class FillSWBFMaterialProperties(bpy.types.Operator):
mat.swbf_msh_mat.doublesided = not mat.use_backface_culling mat.swbf_msh_mat.doublesided = not mat.use_backface_culling
mat.swbf_msh_mat.hardedged_transparency = (mat.blend_method == "CLIP") mat.swbf_msh_mat.hardedged_transparency = (mat.blend_method == "CLIP")
mat.swbf_msh_mat.blended_transparency = (mat.blend_method == "BLEND") mat.swbf_msh_mat.blended_transparency = (mat.blend_method == "BLEND")
mat.swbf_msh_mat.additive_transparency = (mat.blend_method == "ADDITIVE")
# Below is all for filling the diffuse map/texture_0 fields # Below is all for filling the diffuse map/texture_0 fields