diff --git a/spine-ue4/Content/Maps/example.umap b/spine-ue4/Content/Maps/example.umap index e4fea2f13..5387dd347 100644 Binary files a/spine-ue4/Content/Maps/example.umap and b/spine-ue4/Content/Maps/example.umap differ diff --git a/spine-ue4/Content/Test/images/head.png b/spine-ue4/Content/Test/images/head.png new file mode 100644 index 000000000..cfeb4493f Binary files /dev/null and b/spine-ue4/Content/Test/images/head.png differ diff --git a/spine-ue4/Content/Test/images/hoverboard_board.png b/spine-ue4/Content/Test/images/hoverboard_board.png new file mode 100644 index 000000000..dd80dbdd9 Binary files /dev/null and b/spine-ue4/Content/Test/images/hoverboard_board.png differ diff --git a/spine-ue4/Content/Test/test.spine b/spine-ue4/Content/Test/test.spine new file mode 100644 index 000000000..cc587def6 Binary files /dev/null and b/spine-ue4/Content/Test/test.spine differ diff --git a/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp b/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp index a4966bf18..b501f7965 100644 --- a/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp +++ b/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Private/SpineSkeletonRendererComponent.cpp @@ -167,10 +167,10 @@ void USpineSkeletonRendererComponent::UpdateMesh(spSkeleton* Skeleton) { UMaterialInstanceDynamic* material = nullptr; switch(slot->data->blendMode) { - case SP_BLEND_MODE_NORMAL: + /*case SP_BLEND_MODE_NORMAL: material = pageToNormalBlendMaterial[region->page]; break; - /*case SP_BLEND_MODE_ADDITIVE: + case SP_BLEND_MODE_ADDITIVE: material = pageToAdditiveBlendMaterial[region->page]; break; case SP_BLEND_MODE_MULTIPLY: @@ -183,10 +183,10 @@ void USpineSkeletonRendererComponent::UpdateMesh(spSkeleton* Skeleton) { material = pageToNormalBlendMaterial[region->page]; } - if (lastMaterial != material) { + // if (lastMaterial != material) { Flush(meshSection, vertices, indices, uvs, colors, lastMaterial); lastMaterial = material; - } + // } spRegionAttachment_computeWorldVertices(regionAttachment, slot->bone, worldVertices.GetData());