How could I render decals/textures in a way that lets me create foliage like Minecraft's?

Not really sure how to explain it, so I’ll just show you some images.
Basically, this is how a fern looks like in Minecraft:
image
And here’s my attempt:
image
As you can see, in my attempt at recreating this in Roblox, one of the textures will always be on top of the other, unlike in Minecraft where it’s like one of the textures cuts through the other.
Is there a way to replicate something similar in Roblox?
If it requires MeshParts (as maybe the better solution would be to just use that?), how should I make a mesh that would properly render textures like this?

4 Likes

If you make a MeshPart in this case you could make it in 3d and then unwrap the texture inside your 3d software.
I’m not sure but you may be able to make not even have to give it any thickness and use the DoubleSided Property of MeshParts to create the effect you want.
Google baking texture on mesh or unwrapping texture on mesh and you’ll probably get some good tutorials.

2 Likes


image

I tried doing that, but even though it looks fine in blender (how it should look in Roblox), I ended up with the same issue after importing it (I know I probably just did it wrong but I’ve never really used blender (or any 3d mesh editing software) before so uhh…yeah)

Are you using a .png image for the texture?
They have a transparency that messes with Roblox rendering which shows other items behind them even though the painted sections are solid.

Yeah, I’m using a .png image. Thankfully I was eventually managed to solve my issue by adding 2 ‘plane’ objects, rotating them to fit my needs, and then applying the texture to them
image
image

4 Likes

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