As promised, here is the water shader breakdown for Realmlet. Started out with tiles from SciGho's Water+ pack on itch.io (same artist as Grass+, which I recolored to match my palette), but a post-processing shader makes the water way more hypnotic.
#gamedev #indiedev #love2d #lua #shaders
As promised, here is the water shader breakdown for Realmlet. Started out with tiles from SciGho's Water+ pack on itch.io (same artist as Grass+, which I recolored to match my palette), but a post-processing shader makes the water way more hypnotic. #gamedev #indiedev #love2d #lua #shaders
0 views
Published on 12/11/2026 16:30
0:13
As promised, here is the water shader breakdown for Realmlet. Started out with tiles from SciGho's Water+ pack on itch.io (same artist as Grass+, which I recolored to match my palette), but a post-processing shader makes the water way more hypnotic.
#gamedev #indiedev #love2d #lua #shaders
4 comments
?
That post-process pass really makes it shimmer. Is it a distortion on the tiles' UVs, or a separate wave overlay on top?
ah my bad, there are actually no water tiles at all! its a pure procedural shader: generating Voronoi cells with drifting centroids, warped with a perlin noise offset, and sampling the edges for wave crests
Do yourself a favor and hit that play link!
love a good shader breakdown. recoloring the tiles to your own palette first and letting the post-processing do the heavy lifting is such a smart way to make a pack feel like yours. that water is lowkey hypnotic
for anyone curious about the math side, i adapted the Voronoi logic from Rosetta Code and Amit Patel's Red Blob Games articles, then layered drifting seeds + noise displacement on top to break up the grid feel
meant to make a fun post yesterday, but im running a bit behind. they moved some heavy gear into the building next door and a constant hum has made it tough to focus ever since. we'll see tomorrow!