if material.render_mode!='EXTERNAL':
tech_name = material.name+".tech"
if tech_name not in resources:
+ material = Material(material)
material_export.export_technique_resources(material, resources)
resources[tech_name] = material_export.export_technique(material, resources)
elif "stub.tech" not in resources: