Browse Source

Fix #338.

pull/340/head
Adam Johnson 2 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 state.blendFlags |= hsGMatState.kBlendAlphaAdd
elif slot.blend_type == "MULTIPLY": elif slot.blend_type == "MULTIPLY":
state.blendFlags |= hsGMatState.kBlendAlphaMult state.blendFlags |= hsGMatState.kBlendAlphaMult
else: elif not (state.blendFlags & hsGMatState.kBlendMask):
state.blendFlags |= hsGMatState.kBlendAlpha state.blendFlags |= hsGMatState.kBlendAlpha
if texture.invert_alpha and has_alpha: if texture.invert_alpha and has_alpha:

Loading…
Cancel
Save