Invisible part with decal on it being affected by highlight

Okay so I have a model that houses multiple other ones, and it contains a highlight.

This is like this to make everything inside that parent model highlighted. I do it like this for two reasons:

  1. So I don’t reach the 31 highlight limit.

  2. So that everything in the model is highlighted from the same highlight instead of each individual model being highlighted. (a stylistic choice)

This has worked very nicely in the past, but I recently added a new model that contains a leaf (which has a transparent background), and I put it on a part that is also transparent. I assumed the highlight wouldn’t affect this because it doesn’t affect transparent parts…
However, because there’s a visible decal, for some reason the decal’s face is highlighted. I have no idea what to do to fix this.

Here’s an image of what I mean if I didn’t explain it well:

image

As you can see the leaf decal’s face is highlighted, if I make the mirrored decal leaf on the other side transparent, then one side has a highlight and the other doesn’t., which means that a single one-sided face is being highlighted (which is the original decal’s part)

Now, it’s very hard to explain this directly, but i’ll try:

(TL;DR at the end of this paragraph)
I can’t make the leaf parented to workspace or parented to something else.
This is because it is rigged to the model and the model is animated with the leaves. Now in this specific case, the leaves could theoretically just be weld-constrained to the original model’s part(the decals parent). Yet again another issue is that the leaf goes in and out of serverstorage and workspace, which means I would have to do some very inefficient things just for this simple visual bug. I would basically have to make a somewhat complex system just for this, which I really don’t want to do.

TL;DR FOR THAT PARAGRAPH; I can’t just make it parented to the workspace and use a weldconstraint because it is rigged and the parent+position changes very often, model is animated, etc.

I could theoretically just manually model a leaf in blender to work around this but I am doing that as more of a last resort because decals/images fit what I was wanting in this instance a lot better.

I really hope this isn’t really a difficult fix, and that I am just missing something, or my brain is fried or something.

(Sorry if the way I wrote this is a bit confusing, I was trying show all the bases I have already covered, if there’s not an easy way to fix this I will probably end up modeling a leaf in blender as a replacement)

1 Like

Little side note:

I really don’t think this is an actual bug, i’m pretty sure it’s just the way I have it set up and I am just looking to see if there’s an easier way to achieve the same thing without having remake the whole system.

1 Like

Disclaimer : Im not the most familiar with highlights

do highlights work with gui elements? Maybe make the leaf into a surface gui or something (If that’s not performance unoptimized)

else If you like the look of the 2d leaf but need the highlight to behave make a 3d model of the leaf… but make it transparent and put the leaf image on it as a texture orr soemthing.

1 Like

this is exactly what I was looking for I went through textures and other stuff and I completely forgot about surface guis which behave almost identically to decals in every way I need them to, thank you again I just have to tweak the image a bit but it seems to be working as of now

2 Likes