I’ve been trying to make a shader graph subgraph to overlay hexagonal grids on top of my shaders, and to use that grid for other purposes. However, after many attempts I cannot get the UVs to line up right, ever. Below is the simplest implementation I started with.
Unfortunately, that leads to the below (obvious) problem, where the up-down points of the the hex that would fall outside the offset band aren’t respected and cut off.
Any method I’ve tried to employ to finagle the UVs correctly based on sine waves, circles and triangles have led to mostly hilarious (but very wrong) results.
How can I fix this issue, or, more importantly, how can I attain such an effect properly?