There's a lot of factors at play. Per-unit cost of solar (and probably wind) have no doubt come down, but reduced mass storage costs will be the big game changer. Our entire grid was designed on the basis of a few large sources feeding multiple loads, often at significant distance. Consumer generation, feed-in tariffs, etc. were accommodated by so-called 'smart grid' technology, but to do that across an entire interconnect or a nation will be a significant cost. When it is cloudy or calm, it is typically cloudy or calm for a large area and energy has to move in from further away. Even at the local level, some utilities had to throttle their consumer-generation capacity simply because their distribution network couldn't handle anymore.
Beyond the fact of papering productive farmland with panels or turbines, increasing urban density will see fewer single family detached homes and more multi-residence buildings like condos or apartments, and they only have so much roof space, and the remaining SFHs have to deal with shading from tree canopy and those encroaching tall buildings. In Canada, winter energy demands are high, and the solar energy is low, and the higher in latitude, the lower it gets.