Browse Source

Fix #338.

pull/340/head
Adam Johnson 3 years ago
parent
commit
927f6b7766
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -844,7 +844,7 @@ class MaterialConverter:
state.blendFlags |= hsGMatState.kBlendAlphaAdd
elif slot.blend_type == "MULTIPLY":
state.blendFlags |= hsGMatState.kBlendAlphaMult
else:
elif not (state.blendFlags & hsGMatState.kBlendMask):
state.blendFlags |= hsGMatState.kBlendAlpha
if texture.invert_alpha and has_alpha:

Loading…
Cancel
Save