material_export.export_technique_resources(material, resources)
resources[tech_name] = material_export.export_technique(material, resources)
elif "stub.tech" not in resources:
material_export.export_technique_resources(material, resources)
resources[tech_name] = material_export.export_technique(material, resources)
elif "stub.tech" not in resources: