So I am not that experienced with making materials. I have a hexagon Plain that i want the edges outline.
My thought process was to clamp the texture so it doesn’t tile and simply add colors to the texture. this works find when previewing on a square plane. but when I add the material to a hexagon shaped plane instead of a square it doesn’t render at all.
So if anyone who reads this who could be so kind to help me outline this hexagon plane that would be much appreciated!
Here is the material. I am probably way off but i just want the the edges to be able to glow and possibly be able to edge the size of the thickness of the edge as well
A bit late, but I couldnt find anything else online so I figured I’d post my solution here for anybody else in my position, and in case anybody has a way to improve this.
I’m not good at math so this probably isn’t the best way to do this. It also gets a bit janky with small outline widths. But it works.
Since I’m using a static mesh for a grid I used the texture coordinate and get the distance from each UV point to the edge