Roblox Having Multiple 2D Shirts 'Stacked' on Character

For my game, I had planned a character customization system where there is a base shirt (and pants) and you can change the colors on the paint layers, which are stacked over the base layer. The shirts are transparent so that you should be able to see multiple shirts at the same time. (And each shirt can have its color changed independently.)
Apparently if you put to shirts on a character in Roblox it only uses one, even if they’re transparent. :man_facepalming:
I’ve tried using a shirt as the base and adding a couple of Decals for the paint layers (the yellow and red):


The problem with this solution is it would require adding 6 Decals for each part (one for each face) for each layer and with a total of four layers and 14 parts making up the body of the character, this doesn’t seem feasible…
Is there any way to customize the way the clothing works to get this effect? (I’m an advanced programmer in several languages and an intermediate scripter with Lua, so I can implement a complex solution if necessary, I’m just not sure where to start.)
Thanks for any help!

2 Likes

If anyone else comes across this problem, I did have to slice the textures into 24 pieces using a simple Python script and then create a script with an enormous array of texture ids that creates a bunch of decals for each piece of clothing so they can be stacked and have their color changed independently. It’s very tacky, but it seems to work fine. :man_shrugging:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.