Browse Source

Merge pull request #340 from Hoikas/fix_338

Fix #338.
pull/351/head
Adam Johnson 2 years ago committed by GitHub
parent
commit
fbafab6fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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