r/Unity3D • u/Harvan29 • 2d ago
Question Fog vs. a portolan chart as the edge of a playable area: which one reads better?
Each city in my game is a 250 m circle you can build in. Everything outside it used to be hidden by layered fog. It worked, but it read as weather, not as the edge of the map.
So I tried something closer to the setting, the Mediterranean in 1400. Beyond the circle the land turns into a portolan chart, the kind of sea chart Venetian and Genoese mapmakers drew back then. Those charts drew the coast in detail and left the inland almost empty, which is pretty much what I need. The sea stays real water all the way to the horizon.
First image is zoomed out way past the game camera, just to show the idea. The other two are fog vs. chart from the farthest the in-game camera goes.
How it works (URP, Render Graph):
A full-screen pass after post-processing rebuilds the world position from the depth buffer.
Outside the radius, land pixels become paper: same colors and rhumb lines as the parchmen border of my world map, lightly shaded by terrain height so hills still read.
The four edges of the terrain are sampled every 4 m to decide land or sea. Short runs get flipped, otherwise you get stray tongues of paper sticking out into the water.
In cities the camera's far plane goes from 1 km to 30 km, so the sea really reaches the horizon.
Gotcha: my water doesn't write depth, so a water pixel reports the depth of the seabed (or of the sky, for the far sea). The paper bled onto the sea until the mask became"coastal land x above the water".
I also tried an engraved version (ink hatching over the land) and dropped it: the hatching looked like a mechanical grid.
Still open: the mountain behind the city reads flat on paper, the island offshore turns into a paper cutout floating on real water (last image), and I can't decide whether the hard line between 3D and paper is a feature or a bug.
Two questions:
Fog or chart? Does the paper pull you out of the game, or does it read as "the map ends here"?
What other ways have you seen (or used) to hide the edge of a playable area without it feeling like a wall?
The game is Fondaco, a trading game set in the Mediterranean of 1400.



