From acc9aa54b131482980c7f85010d09b1cea388d33 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sun, 1 Oct 2017 17:27:36 -0700 Subject: [PATCH] Set kBlendDetail flag on detail blends --- korman/exporter/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/exporter/material.py b/korman/exporter/material.py index 6b64622..233e850 100644 --- a/korman/exporter/material.py +++ b/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,