{
	"export": {

	},
	"name": "material",
	"node_position": {
		"x": 0,
		"y": 0
	},
	"parameters": {
		"albedo_color": {
			"a": 1,
			"b": 1,
			"g": 1,
			"r": 1,
			"type": "Color"
		},
		"ao": 1,
		"depth_scale": 0.5,
		"emission_energy": 1,
		"flags_transparent": true,
		"metallic": 0,
		"normal": 1,
		"roughness": 1,
		"size": 7,
		"sss": 1
	},
	"seed_int": 0,
	"shader_model": {
		"shortdesc": "Static PBR Material",
		"longdesc": "PBR material with maps generated as static images",
		"code": "",
		"exports": {
			"Blender": {
				"export_extension": "tres",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:roughness_tex)",
						"file_name": "$(path_prefix)_rough.exr",
						"output": 13,
						"type": "texture"
					},
					{
						"conditions": "$(connected:metallic_tex)",
						"file_name": "$(path_prefix)_metal.exr",
						"output": 12,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 7,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_displace.exr",
						"output": 8,
						"type": "texture"
					},
					{
						"conditions": "$(connected:sss_tex)",
						"file_name": "$(path_prefix)_sss.exr",
						"output": 5,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex)",
						"file_name": "$(path_prefix)_occlusion.exr",
						"output": 9,
						"type": "texture"
					}
				]
			},
			"GLTF/Plane": {
				"export_extension": "gltf",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_orm.png",
						"output": 1,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 3,
						"type": "texture"
					},
					{
						"file_name": "$(path_prefix).gltf",
						"prompt_overwrite": true,
						"template": [
							"{",
							"\t\"asset\":{",
							"\t\t\"generator\":\"Material Maker export\",",
							"\t\t\"version\":\"2.0\"",
							"\t},",
							"\t\"scene\":0,",
							"\t\"scenes\":[",
							"\t\t{",
							"\t\t\t\"name\":\"Scene\",",
							"\t\t\t\"nodes\":[",
							"\t\t\t\t0",
							"\t\t\t]",
							"\t\t}",
							"\t],",
							"\t\"nodes\":[",
							"\t\t{",
							"\t\t\t\"mesh\":0,",
							"\t\t\t\"name\":\"Plane\"",
							"\t\t}",
							"\t],",
							"\t\"materials\":[",
							"\t\t{",
							"\t\t\t\"doubleSided\":true,",
							"\t\t\t\"emissiveTexture\":{",
							"\t\t\t\t\"index\":0",
							"\t\t\t},",
							"\t\t\t\"name\":\"$(file_prefix)\",",
							"\t\t\t\"normalTexture\":{",
							"\t\t\t\t\"index\":1",
							"\t\t\t},",
							"\t\t\t\"occlusionTexture\":{",
							"\t\t\t\t\"index\":2",
							"\t\t\t},",
							"\t\t\t\"pbrMetallicRoughness\":{",
							"\t\t\t\t\"baseColorTexture\":{",
							"\t\t\t\t\t\"index\":3",
							"\t\t\t\t},",
							"\t\t\t\t\"metallicRoughnessTexture\":{",
							"\t\t\t\t\t\"index\":2",
							"\t\t\t\t}",
							"\t\t\t}",
							"\t\t}",
							"\t],",
							"\t\"meshes\":[",
							"\t\t{",
							"\t\t\t\"name\":\"Plane\",",
							"\t\t\t\"primitives\":[",
							"\t\t\t\t{",
							"\t\t\t\t\t\"attributes\":{",
							"\t\t\t\t\t\t\"POSITION\":0,",
							"\t\t\t\t\t\t\"NORMAL\":1,",
							"\t\t\t\t\t\t\"TEXCOORD_0\":2",
							"\t\t\t\t\t},",
							"\t\t\t\t\t\"indices\":3,",
							"\t\t\t\t\t\"material\":0",
							"\t\t\t\t}",
							"\t\t\t]",
							"\t\t}",
							"\t],",
							"\t\"textures\":[",
							"\t\t{",
							"\t\t\t\"sampler\":0,",
							"\t\t\t\"source\":0",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"sampler\":0,",
							"\t\t\t\"source\":1",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"sampler\":0,",
							"\t\t\t\"source\":2",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"sampler\":0,",
							"\t\t\t\"source\":3",
							"\t\t}",
							"\t],",
							"\t\"images\":[",
							"\t\t{",
							"$if $(connected:emission_tex)",
							"\t\t\t\"uri\":\"$(file_prefix)_emission.png\",",
							"$else",
							"\t\t\t\"bufferView\":4,",
							"$fi",
							"\t\t\t\"mimeType\":\"image/png\",",
							"\t\t\t\"name\":\"emission\"",
							"\t\t},",
							"\t\t{",
							"$if $(connected:normal_tex)",
							"\t\t\t\"uri\":\"$(file_prefix)_normal.png\",",
							"$else",
							"\t\t\t\"bufferView\":5,",
							"$fi",
							"\t\t\t\"mimeType\":\"image/png\",",
							"\t\t\t\"name\":\"normal\"",
							"\t\t},",
							"\t\t{",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"\t\t\t\"uri\":\"$(file_prefix)_orm.png\",",
							"$else",
							"\t\t\t\"bufferView\":6,",
							"$fi",
							"\t\t\t\"mimeType\":\"image/png\",",
							"\t\t\t\"name\":\"orm\"",
							"\t\t},",
							"\t\t{",
							"$if $(connected:albedo_tex)",
							"\t\t\t\"uri\":\"$(file_prefix)_albedo.png\",",
							"$else",
							"\t\t\t\"bufferView\":7,",
							"$fi",
							"\t\t\t\"mimeType\":\"image/png\",",
							"\t\t\t\"name\":\"albedo\"",
							"\t\t}",
							"\t],",
							"\t\"accessors\":[",
							"\t\t{",
							"\t\t\t\"bufferView\":0,",
							"\t\t\t\"componentType\":5126,",
							"\t\t\t\"count\":4,",
							"\t\t\t\"max\":[",
							"\t\t\t\t2,",
							"\t\t\t\t0,",
							"\t\t\t\t2",
							"\t\t\t],",
							"\t\t\t\"min\":[",
							"\t\t\t\t-2,",
							"\t\t\t\t0,",
							"\t\t\t\t-2",
							"\t\t\t],",
							"\t\t\t\"type\":\"VEC3\"",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"bufferView\":1,",
							"\t\t\t\"componentType\":5126,",
							"\t\t\t\"count\":4,",
							"\t\t\t\"type\":\"VEC3\"",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"bufferView\":2,",
							"\t\t\t\"componentType\":5126,",
							"\t\t\t\"count\":4,",
							"\t\t\t\"type\":\"VEC2\"",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"bufferView\":3,",
							"\t\t\t\"componentType\":5123,",
							"\t\t\t\"count\":6,",
							"\t\t\t\"type\":\"SCALAR\"",
							"\t\t}",
							"\t],",
							"\t\"bufferViews\":[",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":48,",
							"\t\t\t\"byteOffset\":0,",
							"\t\t\t\"target\":34962",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":48,",
							"\t\t\t\"byteOffset\":48,",
							"\t\t\t\"target\":34962",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":32,",
							"\t\t\t\"byteOffset\":96,",
							"\t\t\t\"target\":34962",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":12,",
							"\t\t\t\"byteOffset\":128,",
							"\t\t\t\"target\":34963",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":83,",
							"\t\t\t\"byteOffset\":140",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":83,",
							"\t\t\t\"byteOffset\":224",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":83,",
							"\t\t\t\"byteOffset\":308",
							"\t\t},",
							"\t\t{",
							"\t\t\t\"buffer\":0,",
							"\t\t\t\"byteLength\":83,",
							"\t\t\t\"byteOffset\":392",
							"\t\t}",
							"\t],",
							"\t\"samplers\":[",
							"\t\t{",
							"\t\t\t\"magFilter\":9729,",
							"\t\t\t\"minFilter\":9987",
							"\t\t}",
							"\t],",
							"\t\"buffers\":[",
							"\t\t{",
							"\t\t\t\"byteLength\":476,",
							"\t\t\t\"uri\":\"data:application/octet-stream;base64,AAAAwAAAAAAAAABAAAAAQAAAAAAAAABAAAAAwAAAAAAAAADAAAAAQAAAAAAAAADAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAwAAAQEAAAABAAABAQAAAAMAAAIC/AAAAQAAAgL8AAAEAAwAAAAMAAgCJUE5HDQoaCgAAAA1JSERSAAAAIAAAACABAwAAAEm06LcAAAADUExURQAAAKd6PdoAAAALSURBVAgdYxjkAAAAoAABl5qtUgAAAABJRU5ErkJgggCJUE5HDQoaCgAAAA1JSERSAAAAIAAAACABAwAAAEm06LcAAAADUExURYCA/1DOUZwAAAALSURBVAgdYxjkAAAAoAABl5qtUgAAAABJRU5ErkJgggCJUE5HDQoaCgAAAA1JSERSAAAAIAAAACABAwAAAEm06LcAAAADUExURf+AACJhkXwAAAALSURBVAgdYxjkAAAAoAABl5qtUgAAAABJRU5ErkJgggCJUE5HDQoaCgAAAA1JSERSAAAAIAAAACABAwAAAEm06LcAAAADUExURQAAAKd6PdoAAAALSURBVAgdYxjkAAAAoAABl5qtUgAAAABJRU5ErkJgggA=\"",
							"\t\t}",
							"\t]",
							"}",
							""
						],
						"type": "template"
					}
				]
			},
			"Godot/Godot 3 Spatial": {
				"export_extension": "tres",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_orm.png",
						"output": 1,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 3,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_depth.png",
						"output": 4,
						"type": "texture"
					},
					{
						"conditions": "$(connected:sss_tex)",
						"file_name": "$(path_prefix)_sss.png",
						"output": 5,
						"prompt_overwrite": false,
						"type": "texture"
					},
					{
						"file_name": "$(path_prefix).tres",
						"prompt_overwrite": true,
						"template": [
							"[gd_resource type=\"SpatialMaterial\" load_steps=5 format=2]",
							"$if $(connected:albedo_tex)",
							"[ext_resource path=\"$(file_prefix)_albedo.png\" type=\"Texture\" id=1]",
							"$fi",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"[ext_resource path=\"$(file_prefix)_orm.png\" type=\"Texture\" id=2]",
							"$fi",
							"$if $(connected:normal_tex)",
							"[ext_resource path=\"$(file_prefix)_normal.png\" type=\"Texture\" id=3]",
							"$fi",
							"$if $(connected:depth_tex)",
							"[ext_resource path=\"$(file_prefix)_depth.png\" type=\"Texture\" id=4]",
							"$fi",
							"$if $(connected:emission_tex)",
							"[ext_resource path=\"$(file_prefix)_emission.png\" type=\"Texture\" id=5]",
							"$fi",
							"$if $(connected:sss_tex)",
							"[ext_resource path=\"$(file_prefix)_sss.png\" type=\"Texture\" id=6]",
							"$fi",
							"[resource]",
							"albedo_color = Color($(param:albedo_color.r), $(param:albedo_color.g), $(param:albedo_color.b), $(param:albedo_color.a))",
							"$if $(connected:albedo_tex)",
							"albedo_texture = ExtResource( 1 )",
							"$fi",
							"metallic = $(param:metallic)",
							"$if $(connected:metallic_tex)",
							"metallic_texture = ExtResource( 2 )",
							"metallic_texture_channel = 2",
							"$fi",
							"roughness = $(param:roughness)",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"roughness_texture = ExtResource( 2 )",
							"roughness_texture_channel = 1",
							"$fi",
							"$if $(connected:normal_tex)",
							"normal_enabled = true",
							"normal_scale = $(param:normal)",
							"normal_texture = ExtResource( 3 )",
							"$fi",
							"$if $(connected:emission_tex)",
							"emission_enabled = true",
							"emission = Color( 0, 0, 0, 1 )",
							"emission_energy = $(param:emission_energy)",
							"emission_operator = 0",
							"emission_on_uv2 = false",
							"emission_texture = ExtResource( 5 )",
							"$fi",
							"$if $(connected:ao_tex)",
							"ao_enabled = true",
							"ao_texture = ExtResource( 2 )",
							"ao_texture_channel = 0",
							"$fi",
							"$if $(connected:depth_tex)",
							"depth_enabled = true",
							"depth_scale = $(expr:0.2*$(param:depth_scale))",
							"depth_deep_parallax = true",
							"depth_min_layers = 8",
							"depth_max_layers = 32",
							"depth_flip_tangent = false",
							"depth_flip_binormal = false",
							"depth_texture = ExtResource( 4 )",
							"$fi",
							"$if $(connected:sss_tex)",
							"subsurf_scatter_enabled = true",
							"subsurf_scatter_strength = $(param:sss)",
							"subsurf_scatter_texture = ExtResource( 6 )",
							"$fi",
							"$if $(connected:opacity_tex) and $(param:flags_transparent)",
							"flags_transparent = true",
							"$fi",
							""
						],
						"type": "template"
					}
				]
			},
			"Godot/Godot 4 ORM": {
				"export_extension": "tres",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"prompt_overwrite": false,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_orm.png",
						"output": 1,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 3,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_heightmap.png",
						"output": 8,
						"type": "texture"
					},
					{
						"conditions": "$(connected:sss_tex)",
						"file_name": "$(path_prefix)_sss.png",
						"output": 5,
						"prompt_overwrite": false,
						"type": "texture"
					},
					{
						"file_name": "$(path_prefix).tres",
						"prompt_overwrite": true,
						"template": [
							"[gd_resource type=\"ORMMaterial3D\" load_steps=6 format=3]",
							"$if $(connected:albedo_tex)",
							"[ext_resource path=\"$(file_prefix)_albedo.png\" type=\"Texture\" id=1]",
							"$fi",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"[ext_resource path=\"$(file_prefix)_orm.png\" type=\"Texture\" id=2]",
							"$fi",
							"$if $(connected:normal_tex)",
							"[ext_resource path=\"$(file_prefix)_normal.png\" type=\"Texture\" id=3]",
							"$fi",
							"$if $(connected:depth_tex)",
							"[ext_resource path=\"$(file_prefix)_heightmap.png\" type=\"Texture\" id=4]",
							"$fi",
							"$if $(connected:emission_tex)",
							"[ext_resource path=\"$(file_prefix)_emission.png\" type=\"Texture\" id=5]",
							"$fi",
							"$if $(connected:sss_tex)",
							"[ext_resource path=\"$(file_prefix)_sss.png\" type=\"Texture\" id=6]",
							"$fi",
							"[resource]",
							"albedo_color = Color($(param:albedo_color.r), $(param:albedo_color.g), $(param:albedo_color.b), $(param:albedo_color.a))",
							"$if $(connected:albedo_tex)",
							"albedo_texture = ExtResource( 1 )",
							"$fi",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"orm_texture = ExtResource( 2 )",
							"$fi",
							"$if $(connected:normal_tex)",
							"normal_enabled = true",
							"normal_scale = $(param:normal)",
							"normal_texture = ExtResource( 3 )",
							"$fi",
							"$if $(connected:emission_tex)",
							"emission_enabled = true",
							"emission = Color( 0, 0, 0, 1 )",
							"emission_energy = $(param:emission_energy)",
							"emission_operator = 0",
							"emission_texture = ExtResource( 5 )",
							"$fi",
							"$if $(connected:depth_tex)",
							"heightmap_enabled = true",
							"heightmap_scale = $(expr:25.0*$(param:depth_scale))",
							"heightmap_deep_parallax = true",
							"heightmap_min_layers = 8",
							"heightmap_max_layers = 32",
							"heightmap_texture = ExtResource( 4 )",
							"$fi",
							"$if $(connected:sss_tex)",
							"subsurf_scatter_enabled = true",
							"subsurf_scatter_strength = $(param:sss)",
							"subsurf_scatter_texture = ExtResource( 6 )",
							"$fi",
							"$if $(connected:opacity_tex) and $(param:flags_transparent)",
							"transparency = 1",
							"$fi",
							""
						],
						"type": "template"
					}
				]
			},
			"Godot/Godot 4 Standard": {
				"export_extension": "tres",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"prompt_overwrite": false,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_orm.png",
						"output": 1,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 3,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_heightmap.png",
						"output": 8,
						"prompt_overwrite": false,
						"type": "texture"
					},
					{
						"conditions": "$(connected:sss_tex)",
						"file_name": "$(path_prefix)_sss.png",
						"output": 5,
						"type": "texture"
					},
					{
						"file_name": "$(path_prefix).tres",
						"prompt_overwrite": true,
						"template": [
							"[gd_resource type=\"StandardMaterial3D\" load_steps=5 format=2]",
							"$if $(connected:albedo_tex)",
							"[ext_resource path=\"$(file_prefix)_albedo.png\" type=\"Texture\" id=1]",
							"$fi",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"[ext_resource path=\"$(file_prefix)_orm.png\" type=\"Texture\" id=2]",
							"$fi",
							"$if $(connected:normal_tex)",
							"[ext_resource path=\"$(file_prefix)_normal.png\" type=\"Texture\" id=3]",
							"$fi",
							"$if $(connected:depth_tex)",
							"[ext_resource path=\"$(file_prefix)_heightmap.png\" type=\"Texture\" id=4]",
							"$fi",
							"$if $(connected:emission_tex)",
							"[ext_resource path=\"$(file_prefix)_emission.png\" type=\"Texture\" id=5]",
							"$fi",
							"$if $(connected:sss_tex)",
							"[ext_resource path=\"$(file_prefix)_sss.png\" type=\"Texture\" id=6]",
							"$fi",
							"[resource]",
							"albedo_color = Color($(param:albedo_color.r), $(param:albedo_color.g), $(param:albedo_color.b), $(param:albedo_color.a))",
							"$if $(connected:albedo_tex)",
							"albedo_texture = ExtResource( 1 )",
							"$fi",
							"metallic = $(param:metallic)",
							"$if $(connected:metallic_tex)",
							"metallic_texture = ExtResource( 2 )",
							"metallic_texture_channel = 2",
							"$fi",
							"roughness = $(param:roughness)",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"roughness_texture = ExtResource( 2 )",
							"roughness_texture_channel = 1",
							"$fi",
							"$if $(connected:normal_tex)",
							"normal_enabled = true",
							"normal_scale = $(param:normal)",
							"normal_texture = ExtResource( 3 )",
							"$fi",
							"$if $(connected:emission_tex)",
							"emission_enabled = true",
							"emission = Color( 0, 0, 0, 1 )",
							"emission_energy = $(param:emission_energy)",
							"emission_operator = 0",
							"emission_texture = ExtResource( 5 )",
							"$fi",
							"$if $(connected:ao_tex)",
							"ao_enabled = true",
							"ao_texture = ExtResource( 2 )",
							"ao_texture_channel = 0",
							"$fi",
							"$if $(connected:depth_tex)",
							"heightmap_enabled = true",
							"heightmap_scale = $(expr:25.0*$(param:depth_scale))",
							"heightmap_deep_parallax = true",
							"heightmap_min_layers = 8",
							"heightmap_max_layers = 32",
							"heightmap_texture = ExtResource( 4 )",
							"$fi",
							"$if $(connected:sss_tex)",
							"subsurf_scatter_enabled = true",
							"subsurf_scatter_strength = $(param:sss)",
							"subsurf_scatter_texture = ExtResource( 6 )",
							"$fi",
							"$if $(connected:opacity_tex) and $(param:flags_transparent)",
							"transparency = 1",
							"$fi",
							""
						],
						"type": "template"
					}
				]
			},
			"Unity/3D": {
				"export_extension": "mat",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(0)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_metal_smoothness.png",
						"output": 6,
						"type": "texture"
					},
					{
						"conditions": "$(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_metal_smoothness.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(1)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 7,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(2)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 12",
							"  mipmaps:",
							"    mipMapMode: 0",
							"    enableMipMap: 1",
							"    sRGBTexture: 0",
							"    linearTexture: 0",
							"    fadeOut: 0",
							"    borderMipMap: 1",
							"    mipMapsPreserveCoverage: 0",
							"    alphaTestReferenceValue: 0.5",
							"    mipMapFadeDistanceStart: 1",
							"    mipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"    convertToNormalMap: 0",
							"    externalNormalMap: 0",
							"    heightScale: 0.25",
							"    normalMapFilter: 0",
							"    flipGreenChannel: 0",
							"  isReadable: 1",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  vTOnly: 0",
							"  ignoreMipmapLimit: 1",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 0",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"    serializedVersion: 2",
							"    filterMode: 1",
							"    aniso: 1",
							"    mipBias: 0",
							"    wrapU: 0",
							"    wrapV: 0",
							"    wrapW: 0",
							"  nPOTScale: 0",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 1",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  flipbookRows: 1",
							"  flipbookColumns: 1",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  ignorePngGamma: 0",
							"  applyGammaDecoding: 1",
							"  swizzle: 50462976",
							"  cookieLightType: 1",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"    buildTarget: DefaultTexturePlatform",
							"    maxTextureSize: 2048",
							"    resizeAlgorithm: 0",
							"    textureFormat: -1",
							"    textureCompression: 1",
							"    compressionQuality: 50",
							"    crunchedCompression: 0",
							"    allowsAlphaSplitting: 0",
							"    overridden: 0",
							"    ignorePlatformSupport: 0",
							"    androidETC2FallbackOverride: 0",
							"    forceMaximumCompressionQuality_BC6H_BC7: 0",
							"  - serializedVersion: 3",
							"    buildTarget: Standalone",
							"    maxTextureSize: 2048",
							"    resizeAlgorithm: 0",
							"    textureFormat: -1",
							"    textureCompression: 1",
							"    compressionQuality: 50",
							"    crunchedCompression: 0",
							"    allowsAlphaSplitting: 0",
							"    overridden: 0",
							"    ignorePlatformSupport: 0",
							"    androidETC2FallbackOverride: 0",
							"    forceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"    serializedVersion: 2",
							"    sprites: []",
							"    outline: []",
							"    physicsShape: []",
							"    bones: []",
							"    spriteID: ",
							"    internalID: 0",
							"    vertices: []",
							"    indices: ",
							"    edges: []",
							"    weights: []",
							"    secondaryTextures: []",
							"    nameFileIdTable: {}",
							"  mipmapLimitGroupName: ",
							"  pSDRemoveMatte: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png",
						"output": 8,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(3)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:ao_tex)",
						"file_name": "$(path_prefix)_occlusion.png",
						"output": 9,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex)",
						"file_name": "$(path_prefix)_occlusion.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(4)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(5)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"file_name": "$(path_prefix).mat",
						"prompt_overwrite": true,
						"template": [
							"%YAML 1.1",
							"%TAG !u! tag:unity3d.com,2011:",
							"--- !u!21 &2100000",
							"Material:",
							"  serializedVersion: 6",
							"  m_ObjectHideFlags: 0",
							"  m_CorrespondingSourceObject: {fileID: 0}",
							"  m_PrefabInstance: {fileID: 0}",
							"  m_PrefabAsset: {fileID: 0}",
							"  m_Name: $(file_prefix)",
							"  m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}",
							"  m_ShaderKeywords: _METALLICGLOSSMAP _NORMALMAP _PARALLAXMAP",
							"  m_LightmapFlags: 4",
							"  m_EnableInstancingVariants: 0",
							"  m_DoubleSidedGI: 0",
							"  m_CustomRenderQueue: -1",
							"  stringTagMap: {}",
							"  disabledShaderPasses: []",
							"  m_SavedProperties:",
							"    serializedVersion: 3",
							"    m_TexEnvs:",
							"    - _BumpMap:",
							"$if $(connected:normal_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(2), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailAlbedoMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailMask:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailNormalMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _EmissionMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _MainTex:",
							"$if $(connected:albedo_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(0), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _MetallicGlossMap:",
							"$if $(connected:roughness_tex) or $(connected:metallic_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(1), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _OcclusionMap:",
							"$if $(connected:ao_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(4), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _ParallaxMap:",
							"$if $(connected:depth_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(3), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    m_Floats:",
							"    - _BumpScale: 1",
							"    - _Cutoff: 0.5",
							"    - _DetailNormalMapScale: 1",
							"    - _DstBlend: 0",
							"    - _GlossMapScale: 1",
							"    - _Glossiness: 0.5",
							"    - _GlossyReflections: 1",
							"    - _Metallic: 0",
							"    - _Mode: 0",
							"    - _OcclusionStrength: 1",
							"    - _Parallax: 0.02",
							"    - _SmoothnessTextureChannel: 0",
							"    - _SpecularHighlights: 1",
							"    - _SrcBlend: 1",
							"    - _UVSec: 0",
							"    - _ZWrite: 1",
							"    m_Colors:",
							"    - _Color: {r: 1, g: 1, b: 1, a: 1}",
							"    - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}",
							""
						],
						"type": "template"
					}
				],
				"uids": 6
			},
			"Unity/HDRP": {
				"export_extension": "mat",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png.meta",
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(0)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_maskmap.png",
						"output": 11,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_maskmap.png.meta",
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(1)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 7,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png.meta",
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(2)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 12",
							"  mipmaps:",
							"    mipMapMode: 0",
							"    enableMipMap: 1",
							"    sRGBTexture: 0",
							"    linearTexture: 0",
							"    fadeOut: 0",
							"    borderMipMap: 0",
							"    mipMapsPreserveCoverage: 0",
							"    alphaTestReferenceValue: 0.5",
							"    mipMapFadeDistanceStart: 1",
							"    mipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"    convertToNormalMap: 0",
							"    externalNormalMap: 0",
							"    heightScale: 0.25",
							"    normalMapFilter: 0",
							"    flipGreenChannel: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  vTOnly: 0",
							"  ignoreMipmapLimit: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"    serializedVersion: 2",
							"    filterMode: 1",
							"    aniso: 1",
							"    mipBias: 0",
							"    wrapU: 0",
							"    wrapV: 0",
							"    wrapW: 0",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 1",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  flipbookRows: 1",
							"  flipbookColumns: 1",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  ignorePngGamma: 0",
							"  applyGammaDecoding: 1",
							"  swizzle: 50462976",
							"  cookieLightType: 1",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"    buildTarget: DefaultTexturePlatform",
							"    maxTextureSize: 2048",
							"    resizeAlgorithm: 0",
							"    textureFormat: -1",
							"    textureCompression: 1",
							"    compressionQuality: 50",
							"    crunchedCompression: 0",
							"    allowsAlphaSplitting: 0",
							"    overridden: 0",
							"    ignorePlatformSupport: 0",
							"    androidETC2FallbackOverride: 0",
							"    forceMaximumCompressionQuality_BC6H_BC7: 0",
							"  - serializedVersion: 3",
							"    buildTarget: Standalone",
							"    maxTextureSize: 2048",
							"    resizeAlgorithm: 0",
							"    textureFormat: -1",
							"    textureCompression: 1",
							"    compressionQuality: 50",
							"    crunchedCompression: 0",
							"    allowsAlphaSplitting: 0",
							"    overridden: 0",
							"    ignorePlatformSupport: 0",
							"    androidETC2FallbackOverride: 0",
							"    forceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"    serializedVersion: 2",
							"    sprites: []",
							"    outline: []",
							"    physicsShape: []",
							"    bones: []",
							"    spriteID: ",
							"    internalID: 0",
							"    vertices: []",
							"    indices: ",
							"    edges: []",
							"    weights: []",
							"    secondaryTextures: []",
							"    nameFileIdTable: {}",
							"  mipmapLimitGroupName: ",
							"  pSDRemoveMatte: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png",
						"output": 8,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png.meta",
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(3)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png.meta",
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(4)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"file_name": "$(path_prefix).mat",
						"template": [
							"%YAML 1.1",
							"%TAG !u! tag:unity3d.com,2011:",
							"--- !u!21 &2100000",
							"Material:",
							"  serializedVersion: 6",
							"  m_ObjectHideFlags: 0",
							"  m_CorrespondingSourceObject: {fileID: 0}",
							"  m_PrefabInstance: {fileID: 0}",
							"  m_PrefabAsset: {fileID: 0}",
							"  m_Name: $(file_prefix)",
							"  m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}",
							"  m_ShaderKeywords: _NORMALMAP_TANGENT_SPACE _NORMALMAP _HEIGHTMAP _PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE _DISPLACEMENT_LOCK_TILING_SCALE _MASKMAP _EMISSIVE_COLOR_MAP",
							"  m_LightmapFlags: 4",
							"  m_EnableInstancingVariants: 0",
							"  m_DoubleSidedGI: 0",
							"  m_CustomRenderQueue: -1",
							"  stringTagMap: {}",
							"  disabledShaderPasses:",
							"  - DistortionVectors",
							"  - MOTIONVECTORS",
							"  - TransparentDepthPrepass",
							"  - TransparentDepthPostpass",
							"  - TransparentBackface",
							"  m_SavedProperties:",
							"    serializedVersion: 3",
							"    m_TexEnvs:",
							"    - _AnisotropyMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _BaseColorMap:",
							"$if $(connected:albedo_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(0), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _BentNormalMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _BentNormalMapOS:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _CoatMaskMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DistortionVectorMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _EmissiveColorMap:",
							"$if $(connected:emission_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(4), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _HeightMap:",
							"$if $(connected:depth_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(3), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _IridescenceMaskMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _IridescenceThicknessMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _MainTex:",
							"$if $(connected:albedo_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(0), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _MaskMap:",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(1), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _NormalMap:",
							"$if $(connected:normal_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(2), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _NormalMapOS:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _SpecularColorMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _SubsurfaceMaskMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _TangentMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _TangentMapOS:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _ThicknessMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _TransmittanceColorMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    m_Floats:",
							"    - _AORemapMax: 1",
							"    - _AORemapMin: 0",
							"    - _ATDistance: 1",
							"    - _AddPrecomputedVelocity: 0",
							"    - _AlbedoAffectEmissive: 0",
							"    - _AlphaCutoff: 0.5",
							"    - _AlphaCutoffEnable: 0",
							"    - _AlphaCutoffPostpass: 0.5",
							"    - _AlphaCutoffPrepass: 0.5",
							"    - _AlphaCutoffShadow: 0.5",
							"    - _AlphaDstBlend: 0",
							"    - _AlphaSrcBlend: 1",
							"    - _Anisotropy: 0",
							"    - _BlendMode: 0",
							"    - _CoatMask: 0",
							"    - _CullMode: 2",
							"    - _CullModeForward: 2",
							"    - _Cutoff: 0.5",
							"    - _DepthOffsetEnable: 0",
							"    - _DetailAlbedoScale: 1",
							"    - _DetailNormalScale: 1",
							"    - _DetailSmoothnessScale: 1",
							"    - _DiffusionProfile: 0",
							"    - _DiffusionProfileHash: 0",
							"    - _DisplacementLockObjectScale: 1",
							"    - _DisplacementLockTilingScale: 1",
							"$if $(connected:depth_tex)",
							"    - _DisplacementMode: 2",
							"$else",
							"    - _DisplacementMode: 0",
							"$fi",
							"    - _DistortionBlendMode: 0",
							"    - _DistortionBlurBlendMode: 0",
							"    - _DistortionBlurDstBlend: 1",
							"    - _DistortionBlurRemapMax: 1",
							"    - _DistortionBlurRemapMin: 0",
							"    - _DistortionBlurScale: 1",
							"    - _DistortionBlurSrcBlend: 1",
							"    - _DistortionDepthTest: 1",
							"    - _DistortionDstBlend: 1",
							"    - _DistortionEnable: 0",
							"    - _DistortionScale: 1",
							"    - _DistortionSrcBlend: 1",
							"    - _DistortionVectorBias: -1",
							"    - _DistortionVectorScale: 2",
							"    - _DoubleSidedEnable: 0",
							"    - _DoubleSidedNormalMode: 1",
							"    - _DstBlend: 0",
							"    - _EmissiveColorMode: 1",
							"    - _EmissiveExposureWeight: 1",
							"    - _EmissiveIntensity: 1",
							"    - _EmissiveIntensityUnit: 0",
							"    - _EnableBlendModePreserveSpecularLighting: 1",
							"    - _EnableFogOnTransparent: 1",
							"    - _EnableGeometricSpecularAA: 0",
							"    - _EnergyConservingSpecularColor: 1",
							"    - _HeightAmplitude: $(expr:0.08*$(param:depth_scale))",
							"    - _HeightCenter: 1",
							"    - _HeightMapParametrization: 0",
							"    - _HeightMax: 1",
							"    - _HeightMin: -1",
							"    - _HeightOffset: 0",
							"    - _HeightPoMAmplitude: $(expr:8*$(param:depth_scale))",
							"    - _HeightTessAmplitude: 2",
							"    - _HeightTessCenter: 0.5",
							"    - _InvTilingScale: 1",
							"    - _Ior: 1.5",
							"    - _IridescenceMask: 1",
							"    - _IridescenceThickness: 1",
							"    - _LinkDetailsWithBase: 1",
							"    - _MaterialID: 1",
							"    - _Metallic: $(param:metallic)",
							"    - _NormalMapSpace: 0",
							"    - _NormalScale: $(param:normal)",
							"    - _PPDLodThreshold: 5",
							"    - _PPDMaxSamples: 15",
							"    - _PPDMinSamples: 5",
							"    - _PPDPrimitiveLength: 1",
							"    - _PPDPrimitiveWidth: 1",
							"    - _ReceivesSSR: 1",
							"    - _RefractionModel: 0",
							"    - _SSRefractionProjectionModel: 0",
							"    - _Smoothness: 1",
							"    - _SmoothnessRemapMax: 1",
							"    - _SmoothnessRemapMin: $(expr:1-$(param:roughness))",
							"    - _SpecularAAScreenSpaceVariance: 0.1",
							"    - _SpecularAAThreshold: 0.2",
							"    - _SpecularOcclusionMode: 1",
							"    - _SrcBlend: 1",
							"    - _StencilRef: 0",
							"    - _StencilRefDepth: 8",
							"    - _StencilRefDistortionVec: 4",
							"    - _StencilRefGBuffer: 10",
							"    - _StencilRefMV: 40",
							"    - _StencilWriteMask: 6",
							"    - _StencilWriteMaskDepth: 8",
							"    - _StencilWriteMaskDistortionVec: 4",
							"    - _StencilWriteMaskGBuffer: 14",
							"    - _StencilWriteMaskMV: 40",
							"    - _SubsurfaceMask: 1",
							"    - _SupportDecals: 1",
							"    - _SurfaceType: 0",
							"    - _TexWorldScale: 1",
							"    - _TexWorldScaleEmissive: 1",
							"    - _Thickness: 1",
							"    - _TransmissionEnable: 1",
							"    - _TransparentBackfaceEnable: 0",
							"    - _TransparentCullMode: 2",
							"    - _TransparentDepthPostpassEnable: 0",
							"    - _TransparentDepthPrepassEnable: 0",
							"    - _TransparentSortPriority: 0",
							"    - _TransparentWritingMotionVec: 0",
							"    - _TransparentZWrite: 0",
							"    - _UVBase: 0",
							"    - _UVDetail: 0",
							"    - _UVEmissive: 0",
							"    - _UseEmissiveIntensity: 0",
							"    - _UseShadowThreshold: 0",
							"    - _ZTestDepthEqualForOpaque: 3",
							"    - _ZTestGBuffer: 4",
							"    - _ZTestModeDistortion: 4",
							"    - _ZTestTransparent: 4",
							"    - _ZWrite: 1",
							"    m_Colors:",
							"    - _BaseColor: {r: 1, g: 1, b: 1, a: 1}",
							"    - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}",
							"    - _Color: {r: 1, g: 1, b: 1, a: 1}",
							"    - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}",
							"    - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}",
							"    - _EmissionColor: {r: 1, g: 1, b: 1, a: 1}",
							"    - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}",
							"    - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}",
							"    - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}",
							"    - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}",
							"    - _SpecularColor: {r: 1, g: 1, b: 1, a: 1}",
							"    - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}",
							"    - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}",
							"    - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}",
							"    - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}",
							"    - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}",
							"--- !u!114 &8466335806480081788",
							"MonoBehaviour:",
							"  m_ObjectHideFlags: 11",
							"  m_CorrespondingSourceObject: {fileID: 0}",
							"  m_PrefabInstance: {fileID: 0}",
							"  m_PrefabAsset: {fileID: 0}",
							"  m_GameObject: {fileID: 0}",
							"  m_Enabled: 1",
							"  m_EditorHideFlags: 0",
							"  m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3}",
							"  m_Name: ",
							"  m_EditorClassIdentifier: ",
							"  version: 2",
							""
						],
						"type": "template"
					}
				],
				"uids": 5
			},
			"Unity/URP": {
				"export_extension": "mat",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(0)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"  buildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_metal_smoothness.png",
						"output": 6,
						"type": "texture"
					},
					{
						"conditions": "$(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_metal_smoothness.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(1)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"  buildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 7,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(2)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"  mipMapMode: 0",
							"  enableMipMap: 1",
							"  sRGBTexture: 0",
							"  linearTexture: 0",
							"  fadeOut: 0",
							"  borderMipMap: 0",
							"  mipMapsPreserveCoverage: 0",
							"  alphaTestReferenceValue: 0.5",
							"  mipMapFadeDistanceStart: 1",
							"  mipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"  convertToNormalMap: 0",
							"  externalNormalMap: 0",
							"  heightScale: 0.25",
							"  normalMapFilter: 0",
							"  flipGreenChannel: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  vTOnly: 0",
							"  ignoreMipmapLimit: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"  serializedVersion: 2",
							"  filterMode: 1",
							"  aniso: 1",
							"  mipBias: 0",
							"  wrapU: 0",
							"  wrapV: 0",
							"  wrapW: 0",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 1",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  flipbookRows: 1",
							"  flipbookColumns: 1",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  ignorePngGamma: 0",
							"  applyGammaDecoding: 1",
							"  swizzle: 50462976",
							"  cookieLightType: 1",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"  buildTarget: DefaultTexturePlatform",
							"  maxTextureSize: 2048",
							"  resizeAlgorithm: 0",
							"  textureFormat: -1",
							"  textureCompression: 1",
							"  compressionQuality: 50",
							"  crunchedCompression: 0",
							"  allowsAlphaSplitting: 0",
							"  overridden: 0",
							"  ignorePlatformSupport: 0",
							"  androidETC2FallbackOverride: 0",
							"  forceMaximumCompressionQuality_BC6H_BC7: 0",
							"  - serializedVersion: 3",
							"  buildTarget: Standalone",
							"  maxTextureSize: 2048",
							"  resizeAlgorithm: 0",
							"  textureFormat: -1",
							"  textureCompression: 1",
							"  compressionQuality: 50",
							"  crunchedCompression: 0",
							"  allowsAlphaSplitting: 0",
							"  overridden: 0",
							"  ignorePlatformSupport: 0",
							"  androidETC2FallbackOverride: 0",
							"forceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"  serializedVersion: 2",
							"  sprites: []",
							"  outline: []",
							"  physicsShape: []",
							"  bones: []",
							"  spriteID: ",
							"  internalID: 0",
							"  vertices: []",
							"  indices: ",
							"  edges: []",
							"  weights: []",
							"  secondaryTextures: []",
							"  nameFileIdTable: {}",
							"  mipmapLimitGroupName: ",
							"  pSDRemoveMatte: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: "
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png",
						"output": 8,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(3)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:ao_tex)",
						"file_name": "$(path_prefix)_occlusion.png",
						"output": 9,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex)",
						"file_name": "$(path_prefix)_occlusion.png.meta",
						"prompt_overwrite": true,
						"template": [
							"fileFormatVersion: 2",
							"guid: $uid(4)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: -1",
							"\taniso: -1",
							"\tmipBias: -100",
							"\twrapU: -1",
							"\twrapV: -1",
							"\twrapW: -1",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"  spritePackingTag: ",
							"  pSDRemoveMatte: 0",
							"  pSDShowRemoveMatteOption: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""
						],
						"type": "template"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png.meta",
						"prompt_overwrite": true,
						"template": [
						"fileFormatVersion: 2",
							"guid: $uid(5)",
							"TextureImporter:",
							"  internalIDToNameTable: []",
							"  externalObjects: {}",
							"  serializedVersion: 10",
							"  mipmaps:",
							"\tmipMapMode: 0",
							"\tenableMipMap: 1",
							"\tsRGBTexture: 1",
							"\tlinearTexture: 0",
							"\tfadeOut: 0",
							"\tborderMipMap: 0",
							"\tmipMapsPreserveCoverage: 0",
							"\talphaTestReferenceValue: 0.5",
							"\tmipMapFadeDistanceStart: 1",
							"\tmipMapFadeDistanceEnd: 3",
							"  bumpmap:",
							"\tconvertToNormalMap: 0",
							"\texternalNormalMap: 0",
							"\theightScale: 0.25",
							"\tnormalMapFilter: 0",
							"\tflipGreenChannel: 0",
							"  isReadable: 0",
							"  streamingMipmaps: 0",
							"  streamingMipmapsPriority: 0",
							"  vTOnly: 0",
							"  ignoreMipmapLimit: 0",
							"  grayScaleToAlpha: 0",
							"  generateCubemap: 6",
							"  cubemapConvolution: 0",
							"  seamlessCubemap: 0",
							"  textureFormat: 1",
							"  maxTextureSize: 2048",
							"  textureSettings:",
							"\tserializedVersion: 2",
							"\tfilterMode: 1",
							"\taniso: 1",
							"\tmipBias: 0",
							"\twrapU: 0",
							"\twrapV: 0",
							"\twrapW: 0",
							"  nPOTScale: 1",
							"  lightmap: 0",
							"  compressionQuality: 50",
							"  spriteMode: 0",
							"  spriteExtrude: 1",
							"  spriteMeshType: 1",
							"  alignment: 0",
							"  spritePivot: {x: 0.5, y: 0.5}",
							"  spritePixelsToUnits: 100",
							"  spriteBorder: {x: 0, y: 0, z: 0, w: 0}",
							"  spriteGenerateFallbackPhysicsShape: 1",
							"  alphaUsage: 1",
							"  alphaIsTransparency: 0",
							"  spriteTessellationDetail: -1",
							"  textureType: 0",
							"  textureShape: 1",
							"  singleChannelComponent: 0",
							"  flipbookRows: 1",
							"  flipbookColumns: 1",
							"  maxTextureSizeSet: 0",
							"  compressionQualitySet: 0",
							"  textureFormatSet: 0",
							"  ignorePngGamma: 0",
							"  applyGammaDecoding: 1",
							"  swizzle: 50462976",
							"  cookieLightType: 1",
							"  platformSettings:",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tignorePlatformSupport: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  - serializedVersion: 3",
							"\tbuildTarget: DefaultTexturePlatform",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 0",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tignorePlatformSupport: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  - serializedVersion: 3",
							"\tbuildTarget: Standalone",
							"\tmaxTextureSize: 2048",
							"\tresizeAlgorithm: 0",
							"\ttextureFormat: -1",
							"\ttextureCompression: 1",
							"\tcompressionQuality: 50",
							"\tcrunchedCompression: 0",
							"\tallowsAlphaSplitting: 0",
							"\toverridden: 0",
							"\tignorePlatformSupport: 0",
							"\tandroidETC2FallbackOverride: 0",
							"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
							"  spriteSheet:",
							"\tserializedVersion: 2",
							"\tsprites: []",
							"\toutline: []",
							"\tphysicsShape: []",
							"\tbones: []",
							"\tspriteID: ",
							"\tinternalID: 0",
							"\tvertices: []",
							"\tindices: ",
							"\tedges: []",
							"\tweights: []",
							"\tsecondaryTextures: []",
							"\tnameFileIdTable: {}",
							"  mipmapLimitGroupName: ",
							"  pSDRemoveMatte: 0",
							"  userData: ",
							"  assetBundleName: ",
							"  assetBundleVariant: ",
							""	
						],
						"type": "template"
					},
					{
						"file_name": "$(path_prefix).mat",
						"prompt_overwrite": true,
						"template": [
							"%YAML 1.1",
							"%TAG !u! tag:unity3d.com,2011:",
							"--- !u!114 &-486273074595757742",
							"MonoBehaviour:",
							"  m_ObjectHideFlags: 11",
							"  m_CorrespondingSourceObject: {fileID: 0}",
							"  m_PrefabInstance: {fileID: 0}",
							"  m_PrefabAsset: {fileID: 0}",
							"  m_GameObject: {fileID: 0}",
							"  m_Enabled: 1",
							"  m_EditorHideFlags: 0",
							"  m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}",
							"  m_Name: ",
							"  m_EditorClassIdentifier: ",
							"  version: 7",
							"--- !u!21 &2100000",
							"Material:",
							"  serializedVersion: 8",
							"  m_ObjectHideFlags: 0",
							"  m_CorrespondingSourceObject: {fileID: 0}",
							"  m_PrefabInstance: {fileID: 0}",
							"  m_PrefabAsset: {fileID: 0}",
							"  m_Name: $(file_prefix)",
							"  m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}",
							"  m_Parent: {fileID: 0}",
							"  m_ModifiedSerializedProperties: 0",
							"  m_ValidKeywords:",
							"  - _NORMALMAP",
							"  - _PARALLAXMAP",
							"  - _METALLICSPECGLOSSMAP",
							"$if $(connected:emission_tex)",
							"  m_LightmapFlags: 0",
							"$else",
							"  m_LightmapFlags: 4",
							"$fi",
							"  m_EnableInstancingVariants: 0",
							"  m_DoubleSidedGI: 0",
							"  m_CustomRenderQueue: -1",
							"  stringTagMap:",
							"    RenderType: Opaque",
							"  disabledShaderPasses: []",
							"  m_LockedProperties: ",
							"  m_SavedProperties:",
							"    serializedVersion: 3",
							"    m_TexEnvs:",
							"    - _BaseMap:",
							"$if $(connected:albedo_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(0), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _BumpMap:",
							"$if $(connected:normal_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(2), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailAlbedoMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailMask:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _DetailNormalMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _EmissionMap:",
							"$if $(connected:emission_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(5), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _MainTex:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"     - _MetallicGlossMap:",
							"$if $(connected:roughness_tex) or $(connected:metallic_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(1), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _OcclusionMap:",
							"$if $(connected:ao_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(4), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _ParallaxMap:",
							"$if $(connected:depth_tex)",
							"        m_Texture: {fileID: 2800000, guid: $uid(3), type: 3}",
							"$else",
							"        m_Texture: {fileID: 0}",
							"$fi",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - _SpecGlossMap:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - unity_Lightmaps:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - unity_LightmapsInd:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    - unity_ShadowMasks:",
							"        m_Texture: {fileID: 0}",
							"        m_Scale: {x: 1, y: 1}",
							"        m_Offset: {x: 0, y: 0}",
							"    m_Ints: []",
							"    m_Floats:",
							"    - _AlphaClip: 0",
							"    - _AlphaToMask: 0",
							"    - _Blend: 0",
							"    - _BlendModePreserveSpecular: 1",
							"    - _BumpScale: $(param:normal)",
							"    - _ClearCoatMask: 0",
							"    - _ClearCoatSmoothness: 0",
							"    - _Cull: 2",
							"    - _Cutoff: 0.5",
							"    - _DetailAlbedoMapScale: 1",
							"    - _DetailNormalMapScale: 1",
							"    - _DstBlend: 0",
							"    - _DstBlendAlpha: 0",
							"    - _EnvironmentReflections: 1",
							"    - _GlossMapScale: 0",
							"    - _Glossiness: 0",
							"    - _GlossyReflections: 0",
							"    - _Metallic: 0",
							"    - _OcclusionStrength: $(param:ao)",
							"    - _Parallax: $(expr:0.005+(0.08-0.005)*$(param:depth_scale))",
							"    - _QueueOffset: 0",
							"    - _ReceiveShadows: 1",
							"    - _Smoothness: $(param:roughness))",
							"    - _SmoothnessTextureChannel: 0",
							"    - _SpecularHighlights: 1",
							"    - _SrcBlend: 1",
							"    - _SrcBlendAlpha: 1",
							"    - _Surface: 0",
							"    - _WorkflowMode: 1",
							"    - _ZWrite: 1",
							"    m_Colors:",
							"    - _BaseColor: {r: 1, g: 1, b: 1, a: 1}",
							"    - _Color: {r: 1, g: 1, b: 1, a: 1}",
							"    - _EmissionColor: {r: $(param:emission_energy), g: $(param:emission_energy), b: $(param:emission_energy), a: 1}",
							"    - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}",
							"  m_BuildTextureStacks: []",
							""
						],
						"type": "template"
					}
				],
				"uids": 6
			},
			"Unreal/Unreal Engine 4": {
				"export_extension": "mm2ue",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_orm.png",
						"output": 1,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 10,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png",
						"output": 8,
						"type": "texture"
					},
					{
						"file_name": "$(path_prefix).mm2ue",
						"template": [
							"/*",
							"Instructions to setup this material:",
							"- copy material.uasset and open the copy",
							"- copy the shader code below and paste it into the Custom node",
							"$if $(connected:albedo_tex)",
							"- assign $(file_prefix)_albedo.png to the Albedo texture in the graph",
							"$fi",
							"$if $(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
							"- assign $(file_prefix)_orm.png to the ORM texture in the graph",
							"$fi",
							"$if $(connected:emission_tex)",
							"- assign $(file_prefix)_emission.png to the Emission texture in the graph",
							"$fi",
							"$if $(connected:normal_tex)",
							"- assign $(file_prefix)_normal.png to the Normal texture in the graph",
							"$fi",
							"$if $(connected:depth_tex)",
							"- assign $(file_prefix)_height.png to the Height texture in the graph",
							"$fi",
							"*/",
							""
						],
						"type": "template"
					}
				],
				"name": "Unreal/Unreal Engine 4"
			},
			"Unreal/Unreal Engine 5": {
				"export_extension": "py",
				"files": [
					{
						"conditions": "$(connected:albedo_tex)",
						"file_name": "$(path_prefix)_albedo.png",
						"output": 0,
						"type": "texture"
					},
					{
						"conditions": "$(connected:ao_tex) or $(connected:roughness_tex) or $(connected:metallic_tex)",
						"file_name": "$(path_prefix)_orm.png",
						"output": 1,
						"type": "texture"
					},
					{
						"conditions": "$(connected:emission_tex)",
						"file_name": "$(path_prefix)_emission.png",
						"output": 2,
						"type": "texture"
					},
					{
						"conditions": "$(connected:normal_tex)",
						"file_name": "$(path_prefix)_normal.png",
						"output": 10,
						"type": "texture"
					},
					{
						"conditions": "$(connected:depth_tex)",
						"file_name": "$(path_prefix)_height.png",
						"output": 8,
						"type": "texture"
					},
					{
						"file_name": "$(path_prefix).py",
						"template": [
							"import unreal",
							"import sys",
							"sys.path.append('$(material_maker_path)$(path_separator)export')",
							"import mm",
							"from importlib import reload",
							"reload(mm)",
							"mat = mm.Material('$(file_prefix)', True)",
							"mat.clear()",
							"TextureSample_Color = mat.add_node('TextureSample', -400, -176)",
							"TextureSample_Color.set_editor_property('texture', mm.import_texture('$(path_prefix)_albedo.png', '/Game/Textures'))",
							"mat.connect_property(TextureSample_Color, 'RGB', unreal.MaterialProperty.MP_BASE_COLOR)",
							"TextureSample_ORM = mat.add_node('TextureSample', -400, 96)",
							"TextureSample_ORM.set_editor_property('texture', mm.import_texture('$(path_prefix)_orm.png', '/Game/Textures'))",
							"mat.connect_property(TextureSample_ORM, 'B', unreal.MaterialProperty.MP_METALLIC)",
							"mat.connect_property(TextureSample_ORM, 'G', unreal.MaterialProperty.MP_ROUGHNESS)",
							"mat.connect_property(TextureSample_ORM, 'R', unreal.MaterialProperty.MP_AMBIENT_OCCLUSION)",
							"TextureSample_Normal = mat.add_node('TextureSample', -400, 368)",
							"TextureSample_Normal.set_editor_property('texture', mm.import_texture('$(path_prefix)_normal.png', '/Game/Textures'))",
							"mat.connect_property(TextureSample_Normal, 'RGB', unreal.MaterialProperty.MP_NORMAL)",
							"MaterialFunctionCall_0 = mat.add_node('MaterialFunctionCall', -976, 32)",
							"MaterialFunctionCall_0.set_editor_property('material_function', mm.get_object_from_path(\"/Script/Engine.MaterialFunction'/Engine/Functions/Engine_MaterialFunctions01/Texturing/ParallaxOcclusionMapping.ParallaxOcclusionMapping'\"))",
							"TextureObject_0 = mat.add_node('TextureObject', -1200, -96)",
							"TextureObject_0.set_editor_property('texture', mm.import_texture('$(path_prefix)_height.png', '/Game/Textures'))",
							"Constant_0 = mat.add_node('Constant', -1200, 80)",
							"Constant_0.set_editor_property('r', 0.05)",
							"Constant_1 = mat.add_node('Constant', -1200, 160)",
							"Constant_1.set_editor_property('r', 8.0)",
							"Constant_2 = mat.add_node('Constant', -1200, 240)",
							"Constant_2.set_editor_property('r', 16.0)",
							"Constant4Vector_0 = mat.add_node('Constant4Vector', -1200, 320)",
							"mat.connect_nodes(MaterialFunctionCall_0, 'Parallax UVs', TextureSample_Color, '')",
							"mat.connect_nodes(MaterialFunctionCall_0, 'Parallax UVs', TextureSample_ORM, '')",
							"mat.connect_nodes(MaterialFunctionCall_0, 'Parallax UVs', TextureSample_Normal, '')",
							"mat.connect_nodes(TextureObject_0, '', MaterialFunctionCall_0, 'Heightmap Texture')",
							"mat.connect_nodes(Constant_0, '', MaterialFunctionCall_0, 'Height Ratio')",
							"mat.connect_nodes(Constant_1, '', MaterialFunctionCall_0, 'Min Steps')",
							"mat.connect_nodes(Constant_2, '', MaterialFunctionCall_0, 'Max Steps')",
							"mat.connect_nodes(Constant4Vector_0, '', MaterialFunctionCall_0, 'Heightmap Channel')",
							"mat.save()",
							""
						],
						"type": "template"
					},
					{
						"file_name": "clipboard",
						"template": "\"$(path_prefix).py\"",
						"type": "template"
					}
				],
				"name": "Unreal/Unreal Engine 4"
			}
		},
		"global": "",
		"inputs": [
			{
				"default": "vec3(1.0)",
				"group_size": 7,
				"label": "",
				"name": "albedo_tex",
				"type": "rgb"
			},
			{
				"default": "1.0",
				"label": "",
				"name": "metallic_tex",
				"type": "f"
			},
			{
				"default": "1.0",
				"label": "",
				"name": "roughness_tex",
				"type": "f"
			},
			{
				"default": "vec3(0.0)",
				"label": "",
				"name": "emission_tex",
				"type": "rgb"
			},
			{
				"default": "vec3(0.5)",
				"label": "",
				"name": "normal_tex",
				"type": "rgb"
			},
			{
				"default": "1.0",
				"label": "",
				"name": "ao_tex",
				"type": "f"
			},
			{
				"default": "0.0",
				"label": "",
				"name": "depth_tex",
				"type": "f"
			},
			{
				"default": "1.0",
				"label": "",
				"name": "opacity_tex",
				"type": "f"
			},
			{
				"default": "0.0",
				"label": "",
				"name": "sss_tex",
				"type": "f"
			}
		],
		"instance": "",
		"name": "Static PBR Material",
		"outputs": [
			{
				"rgba": "vec4($albedo_tex($uv), $opacity_tex($uv))",
				"type": "rgba"
			},
			{
				"rgb": "vec3($ao_tex($uv), $roughness_tex($uv), $metallic_tex($uv))",
				"type": "rgb"
			},
			{
				"rgb": "$emission_tex($uv)",
				"type": "rgb"
			},
			{
				"rgb": "$normal_tex($uv)*vec3(-1.0, 1.0, -1.0)+vec3(1.0, 0.0, 1.0)",
				"type": "rgb"
			},
			{
				"f": "clamp($depth_tex($uv), 0.0, 1.0)",
				"type": "f"
			},
			{
				"f": "$sss_tex($uv)",
				"type": "f"
			},
			{
				"rgba": "vec4(vec3($metallic_tex($uv)), 1.0-$roughness_tex($uv))",
				"type": "rgba"
			},
			{
				"rgb": "$normal_tex($uv)*vec3(-1.0, 1.0, -1.0)+vec3(1.0, 0.0, 1.0)",
				"type": "rgb"
			},
			{
				"f": "1.0-$depth_tex($uv)",
				"type": "f"
			},
			{
				"f": "$ao_tex($uv)",
				"type": "f"
			},
			{
				"rgb": "$normal_tex($uv)*vec3(-1.0)+vec3(1.0)",
				"type": "rgb"
			},
			{
				"rgba": "vec4($metallic_tex($uv), $ao_tex($uv), 1.0, 1.0-$roughness_tex($uv))",
				"type": "rgba"
			},
			{
				"f": "$metallic_tex($uv)",
				"type": "f"
			},
			{
				"f": "$roughness_tex($uv)",
				"type": "f"
			}
		],
		"parameters": [
			{
				"default": {
					"a": 1,
					"b": 1,
					"g": 1,
					"r": 1
				},
				"label": "Albedo",
				"name": "albedo_color",
				"type": "color"
			},
			{
				"control": "None",
				"default": 1,
				"label": "Metallic",
				"max": 1,
				"min": 0,
				"name": "metallic",
				"step": 0.01,
				"type": "float"
			},
			{
				"control": "None",
				"default": 1,
				"label": "Roughness",
				"max": 1,
				"min": 0,
				"name": "roughness",
				"step": 0.01,
				"type": "float"
			},
			{
				"control": "None",
				"default": 1,
				"label": "Emission",
				"max": 1,
				"min": 0,
				"name": "emission_energy",
				"step": 0.01,
				"type": "float"
			},
			{
				"control": "None",
				"default": 1,
				"label": "Normal",
				"max": 10,
				"min": 0,
				"name": "normal",
				"step": 0.01,
				"type": "float"
			},
			{
				"control": "None",
				"default": 1,
				"label": "Ambient occlusion",
				"max": 1,
				"min": 0,
				"name": "ao",
				"step": 0.01,
				"type": "float"
			},
			{
				"control": "None",
				"default": 0.5,
				"label": "Depth",
				"max": 1,
				"min": 0,
				"name": "depth_scale",
				"step": 0.01,
				"type": "float"
			},
			{
				"default": false,
				"label": "Transparency",
				"name": "flags_transparent",
				"type": "boolean"
			},
			{
				"control": "None",
				"default": 0,
				"label": "Subsurf. scatter.",
				"max": 1,
				"min": 0,
				"name": "sss",
				"step": 0.01,
				"type": "float"
			},
			{
				"default": 11,
				"first": 6,
				"label": "Size",
				"last": 13,
				"name": "size",
				"type": "size"
			}
		],
		"preview_shader": [
			"shader_type spatial;",
			"render_mode blend_mix,cull_back,diffuse_burley,specular_schlick_ggx",
			"$if $(connected:opacity_tex) and $(param:flags_transparent)",
			",depth_prepass_alpha",
			"$fi",
			";",
			"",
			"uniform sampler2D texture_albedo : source_color; // $output(0)",
			"uniform sampler2D texture_emission : hint_default_black; // $output(2)",
			"uniform sampler2D texture_normal : hint_normal; // $output(3)",
			"uniform sampler2D texture_orm : hint_default_white; // $output(1)",
			"uniform sampler2D texture_subsurface_scattering : hint_default_white; // $output(5)",
			"uniform sampler2D texture_depth : hint_default_black; // $output(4)",
			"uniform int depth_min_layers = 64;",
			"uniform int depth_max_layers = 64;",
			"uniform vec2 depth_flip = vec2(1.0);",
			"",
			"uniform vec3 uv1_scale;",
			"uniform vec3 uv1_offset;",
			"",
			"$definitions",
			"",
			"void vertex() {",
			"\tUV=UV*uv1_scale.xy+uv1_offset.xy;",
			"}",
			"",
			"void fragment() {",
			"\tvec2 base_uv = UV;",
			"\tint texture_size = textureSize(texture_albedo, 0).x;",
			"\tif (texture_size < 256) {",
			"\t\tbase_uv = floor(float(texture_size)*base_uv+0.5)/float(texture_size);",
			"\t}",
			"$if $(connected:depth_tex)",
			"\t{",
			"$begin_generate",
			"\t\tfloat depth_scale = 0.2*$depth_scale;",
			"$end_generate",
			"\t\tvec3 view_dir = normalize(normalize(-VERTEX)*mat3(TANGENT*depth_flip.x,-BINORMAL*depth_flip.y,NORMAL));",
			"\t\tfloat num_layers = mix(float(depth_max_layers),float(depth_min_layers), abs(dot(vec3(0.0, 0.0, 1.0), view_dir)));",
			"\t\tfloat layer_depth = 1.0 / num_layers;",
			"\t\tfloat current_layer_depth = 0.0;",
			"\t\tvec2 P = view_dir.xy * depth_scale;",
			"\t\tvec2 delta = P / num_layers / dot(VIEW, NORMAL);",
			"\t\tvec2  ofs = base_uv;",
			"\t\tfloat depth = textureLod(texture_depth, ofs,0.0).r;",
			"\t\tfloat current_depth = 0.0;",
			"\t\twhile(current_depth < depth) {",
			"\t\t\tofs -= delta;",
			"\t\t\tdepth = textureLod(texture_depth, ofs,0.0).r;",
			"\t\t\tcurrent_depth += layer_depth;",
			"\t\t}",
			"\t\tvec2 prev_ofs = ofs + delta;",
			"\t\tfloat after_depth  = depth - current_depth;",
			"\t\tfloat before_depth = textureLod(texture_depth, prev_ofs, 0.0).r - current_depth + layer_depth;",
			"\t\tfloat weight = after_depth / (after_depth - before_depth);",
			"\t\tofs = mix(ofs,prev_ofs,weight);",
			"\t\tbase_uv=ofs;",
			"\t}",
			"$fi",
			"$begin_generate",
			"\tvec4 albedo_tex = texture(texture_albedo, base_uv);",
			"\tALBEDO = $albedo_color.rgb * mix(pow((albedo_tex + vec4(0.055))/vec4(1.055), vec4(2.4)), albedo_tex/vec4(12.92), lessThan(albedo_tex, vec4(0.04045))).rgb;",
			"\tvec4 orm_tex = texture(texture_orm, base_uv);",
			"\tMETALLIC = $metallic*orm_tex.b;",
			"\tROUGHNESS = $roughness*orm_tex.g;",
			"\tSPECULAR = 0.5;",
			"\tNORMAL_MAP = texture(texture_normal, base_uv).rgb;",
			"\tNORMAL_MAP_DEPTH = $normal;",
			"\tvec3 emission_tex = texture(texture_emission, base_uv).rgb;",
			"\tEMISSION = emission_tex*$emission_energy;",
			"\tAO = orm_tex.r;",
			"\tAO_LIGHT_AFFECT = $ao;",
			"$if $(connected:opacity_tex) and $(param:flags_transparent)",
			"\tALPHA = albedo_tex.a;",
			"$fi",
			"$if $(connected:sss_tex)",
			"\tfloat sss_tex = texture(texture_subsurface_scattering, base_uv).r;",
			"\tSSS_STRENGTH=$sss*sss_tex;",
			"$fi",
			"$end_generate",
			"}",
			""
		]
	},
	"type": "material_export"
}
