Browse Source

Layers should also be clamped with EXTEND

pull/49/head
Darryl Pogue 8 years ago
parent
commit
dde0f16887
No known key found for this signature in database
GPG Key ID: CB824715C3E6FD41
  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