Finally works

This is a good first start to material combining
It may need a few tweaks from here, but for now it should be good
This commit is contained in:
989onan
2024-07-15 01:51:59 -04:00
parent 942e7e2868
commit 5a3cc5a087
4 changed files with 117 additions and 16 deletions
+1
View File
@@ -70,6 +70,7 @@ def register_properties():
Material.texture_atlas_emission = EnumProperty(name="Emission", description="The texture that will be used for the emission map atlas", default=0, items=get_texture_node_list)
Material.texture_atlas_ambient_occlusion = EnumProperty(name="Ambient Occlusion", description="The texture that will be used for the ambient occlusion map atlas", default=0, items=get_texture_node_list)
Material.texture_atlas_height = EnumProperty(name="Height", description="The texture that will be used for the height map atlas", default=0, items=get_texture_node_list)
Material.texture_atlas_roughness = EnumProperty(name="Roughness", description="The texture that will be used for the roughness map atlas", default=0, items=get_texture_node_list)
Scene.texture_atlas_material_index = IntProperty(default=-1, get=(lambda self : -1), set=(lambda self,context : None))