From c0f161dd315aec183acbe1286cf54211f84cf033 Mon Sep 17 00:00:00 2001 From: scurest Date: Sun, 30 Aug 2020 02:57:03 -0500 Subject: [PATCH] Export: export "Alpha Hashed" blend mode as BLEND This previously exported as OPAQUE. --- .../blender/exp/gltf2_blender_gather_materials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials.py b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials.py index 4fd3e1e0a..3ad17fe28 100644 --- a/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials.py +++ b/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials.py @@ -89,7 +89,7 @@ def __gather_alpha_cutoff(blender_material, export_settings): def __gather_alpha_mode(blender_material, export_settings): if blender_material.blend_method == 'CLIP': return 'MASK' - elif blender_material.blend_method == 'BLEND': + elif blender_material.blend_method in ['BLEND', 'HASHED']: return 'BLEND' return None