Blender 2.80-2.83 supports additive blending, so FillMaterialProps will catch that if present
This commit is contained in:
parent
56f6ce6940
commit
b2bd9c8316
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue