Cities: Skylines

Cities: Skylines

1,002 ratings
ROTTERdam: Road Texture Terrain Edge Remover
3
3
3
4
4
4
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
31.232 KB
2 May, 2021 @ 6:35am
9 Jun, 2021 @ 10:38am
5 Change Notes ( view )

Subscribe to download
ROTTERdam: Road Texture Terrain Edge Remover

Description


Hides the ugly black shadows that appear on roads when placed too close at different heights. Because I can't fix the shader itself, this works by making the road believe the terrain underneath was flat. This works by providing it with a manipulated surface normal map that points upwards everywhere.

Settings:
  • overwrite terrain appearance (default off) (used to be called "hide cliff texture")

    with this setting enabled, the terrain mesh will use the manipulated surface normal map as well. This means that it won't display the cliff texture and will be shaded as if it was flat.
    This has the advantage of lower RAM usage, as no additional textures need to be created.

  • operating mode

    • erase mode (default): all normals are set to vertical. The strength setting is ignored.
      Fastest, but has some side effects (see below)
    • clamp mode: normals are limited to a set range around vertical. Values within that range are unaffected, values outside are moved to the boundary.
    • scale mode: normals are scaled to a set range around vertical.

  • strength

    defines the range used by clamp and scale mode. A strength of 0 means all values are allowed (thus no effect), a strength of 128 means only vertical is allowed (result equal to erase mode).

Known side-effects

  • nature reserve paths and similar don't blend in when placed on sloped terrain.
    This can be fixed by using Clamp mode with a strength around 100 (recommended) or by enabling the "overwrite terrain appearance" option.

  • With the "overwrite terrain appearance" option enabled, the topographic lines overlay is broken. Either disable that option, or use clamp mode with a strength of 120 or lower, or scale mode with a strength of 100 or lower.

  • networks will always display the grass, never the cliff texture. This is especially noticeable with e.g. D͓̽X͓̽'s slope profiles.

Source code
https://github.com/xlf1024/CitiesSkylinesRoadTextureTerrainEdgeRemover

Discord
For support or if you are interested in testing new versions feel free to join the Mod Testing discord[discord.gg] and head to the _xlf channel.

Thanks
Thanks to Chamëleon TBN for the logo and for testing new versions
Thanks to Andreas Pardeike for creating Harmony[harmony.pardeike.net]
Thanks to boformer for porting Harmony to C:SL
Thanks to kian.zarrin and macsergey for helping me get started with modding
Thanks to Chamëleon TBN, D͓̽X͓̽, hockenheim95, Koesj and macsergey for helping with naming
Thanks to Koesj for providing screenshots

130 Comments
Zaborg 13 Apr @ 2:37am 
Thank you! <3
xlf1024  [author] 12 Apr @ 12:05pm 
@Zaborg the screenshot isn't mine, but I'd guess:
Surface Networks or Terraforming Networks
Move It
Network Anarchy
... and of course some wall network
Zaborg 11 Apr @ 8:30am 
Can I ask which other mods you did use to create the retaining wall in your preview image? How did you get the cliff so close to the road/the road so close to the cliff with no road immediately next to it on the lower level? ty
Mathias 28 Mar @ 2:46am 
OMG I've needed this mod for a decade :steamthis:
Dumb-Guy-From-France 1 Jan @ 11:13am 
anything new?
jn987 11 Mar, 2024 @ 12:56am 
Welp, I subbed to this mod but it doesn't show up in either the game itself or skyve. Weird
xlf1024  [author] 17 Oct, 2023 @ 10:52am 
@Billy The Dog
First of all, try turning off the "overwrite terrain appearance" option.
Second, if that doesn't help, join the discord above (link was outdated, I just fixed it) and get the ROTTERdam 1.1beta and use the new edge detection mode. Haven't pushed it to here because a) waiting for feedback b) was busy with my thesis c) then my laptop broke so currently I can't upload. (or play. or do dev stuff)
George Abitbol - Bac+2 15 Oct, 2023 @ 12:48am 
@xlf1024. Hi and thank you for this mod, but I have a problem. On one hand I have a lot of majestic mountains in my map, so I must conserve the cliff texture.On the other hand, I have a lot of underpass, sunken roads, wall elevated roads, so if I turn it off it goes wrong. I tried the different option but I can not resolve this dilemma. Any idea ? Tx
xlf1024  [author] 29 May, 2023 @ 1:03pm 
@JP DFW as always, don't disable, always unsubscribe. It *should* make no difference with this mod, but might if I screwed sth up.

To everyone else experiencing the same issue as JP DFW: read the description (above this comment section); it'll tell you how to fix it.
JP DFW 29 May, 2023 @ 9:21am 
I had to disable this mod. It was not allowing me to see contours on a map with or without other mods. Upon checking around I found a post that said this was the potential cause and as soon as I disabled it the contours were back. Maybe something to look into. I have this on my faves list but unsubbed