Draw grid on Terrain

I have been trying for days to find any suitable docs that could help me draw a simple grid (1x1) on terrain, mesh, or a layer.

How can I achieve this in 3d? My own scenario is that I am making a city builder, my base is terrain, and I would like to draw a simple 1x1 grid with white lines on top of the terrain.

If no answer, any advice or links to docs would help!

You could maybe try some image effect, similar to what Keijiro etc. have shown:

https://github.com/keijiro/DepthInverseProjection

Construct code in shader that renders a procedural grid, then reconstruct the world space position from depth like shown in Keijiro’s effect and draw the grid on the terrain. I think it should work. Although I’m not sure how you would mask certain things to not have the grid and so on. Requires some thought.

standard assets has projector, could try that

Can’t manage anything with that, not sure if it works properly with LWRP? Project explodes with errors when importing standard assets.