Message 1 of 5
Remove a composite material
Not applicable
11-03-2011
08:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys,
I have a script that loops through my scene materials and looks for a "CompositeTexturemap" in the diffuse slot of a material that has only 1 bitmap texture in a layer. It then assigns that single bitmap as the actual diffuse map, effectively replacing the Composite Map.
The problem I have is that after I assign the bitmap to the diffuse map slot of the material, the composite map does not get deleted. It's still part the material. It's just not linked to anything. How do I delete the composite map?
I have a script that loops through my scene materials and looks for a "CompositeTexturemap" in the diffuse slot of a material that has only 1 bitmap texture in a layer. It then assigns that single bitmap as the actual diffuse map, effectively replacing the Composite Map.
The problem I have is that after I assign the bitmap to the diffuse map slot of the material, the composite map does not get deleted. It's still part the material. It's just not linked to anything. How do I delete the composite map?