Browse Source

Set kBlendDetail flag on detail blends

pull/70/head
Darryl Pogue 7 years ago
parent
commit
acc9aa54b1
No known key found for this signature in database
GPG Key ID: CB824715C3E6FD41
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -590,7 +590,7 @@ class MaterialConverter:
# Herp, derp... Detail blends are all based on alpha
if layer_props.is_detail_map and not state.blendFlags & hsGMatState.kBlendMask:
state.blendFlags |= hsGMatState.kBlendAlpha
state.blendFlags |= hsGMatState.kBlendDetail
key = _Texture(texture=texture, use_alpha=has_alpha, force_calc_alpha=slot.use_stencil,
is_detail_map=layer_props.is_detail_map, detail_blend=detail_blend,

Loading…
Cancel
Save