Browse Source

Merge pull request #49 from dpogue/extend-fix

Layers should also be clamped with EXTEND
pull/51/head
Adam Johnson 8 years ago committed by GitHub
parent
commit
0e90f79128
  1. 3
      korman/exporter/material.py

3
korman/exporter/material.py

@ -488,7 +488,8 @@ class MaterialConverter:
if texture.invert_alpha and has_alpha:
state.blendFlags |= hsGMatState.kBlendInvertAlpha
if texture.extension == "CLIP":
if texture.extension in {"CLIP", "EXTEND"}:
state.clampFlags |= hsGMatState.kClampTexture
# Now, let's export the plBitmap

Loading…
Cancel
Save