I restored the "hexagoniness" of the terrain mesh in my #bevyengine game using a custom fragment shader:
📐 Calculate distance from fragment to nearest hexagon edge, using the fragment's world position.
🔦 Highlight the fragment if that distance is small.
#gamedev #rustgamedev