Hi there!
We are working on a Tactical RPG, with a grid system.
Right now the grid works fine, I use Mesh Instances for the tiles and add them a color depending on the context (blue for moving, purple for in range, red for aoe spells…).
Now I’m trying to make the visual a little cleaner, so instead of having the full tiles colored, I just want the external borders to be colored (like in most TRPG like XCom).
So I have my material like this:
4 textures, one for each border. I have my Custom Data nodes, if the value is 1 the border is enabled, if not it’s disabled.
When I modify the value inside the material, it works fine. However, it does absolutly nothing when I use the node “set custom data value” inside my BP.
I used the exact same method for adding the colors to the tiles and it worked fine:
But not for what I’m trying to do with the borders:
What am I doing wrong?
Thanks a lot for your help!