Generating a cityscape from a 2D noise pattern.
Inspired by /u/ckinggfx on /r/Blender.
We create simple plane with subdivisions higher or equal to the noise pattern width in pixels.
The main issue here is to correctly project the texture on the displaced geometry, since the regular UVs would just stretch the texture. We define a specific projection in the fragment shader that assumes a side projection.