Cities: Skylines

Cities: Skylines

988 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

126 Comments
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)
Billy The Dog 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
Zaharky 12 Apr, 2023 @ 5:46am 
@xlf1024 Thank you ! Yes the issue was with the 81 tile mod building without unlocking the area - I had not realised that was the other different thing i had changed - and when i tested on new map i randomly draw a road in the starting square...
I am now a very happy user of your mod and I'll rate up and steam award it to push it since it works very well and has a wonderfull modder that responds quickly
xlf1024  [author] 12 Apr, 2023 @ 4:00am 
@Zaharky this is weird. This mod doesn't affect the ruined texture at all, and even if it did, it gets regenerated from scratch each time you load the game, so just removing the mod would have been sufficient.

However, what you describe sounds exactly like what the game looks like outside the part of the map that you have unlocked. The screenshots on the mod page for Common Ground show the difference ( https://steamproxy.net/sharedfiles/filedetails/?id=2590879367 )

Apart from just staying inside your city boundaries, there's two ways to fix this:
a) purchase the tiles you want to look nice (e.g. using 81tiles if necessary)
b) use the aforementioned Common Ground mod.
Either way, you should be able to use ROTTERdam.

If that doesn't help, please send your Compatibility Report, output_log.txt and some screenshots that show the issue. Easiest way is via the discord linked above, otherwise I guess upload them somewhere I can access them without an account and link them here.
Zaharky 11 Apr, 2023 @ 10:52pm 
Hello, so i have an issue : I've tried this mod and it does what it says ; however i am not happy with the way the ruined texture around the road gets so much wider and seems elevated even at ground level. I've tested a bit with the settings but saw no real difference.

So is there a way to not have that ruin texture around roads overtaking the pavement, and i can't use the pavement brush with the mod.

Additionally I have tried removing the mod since i was not satisfied with the tradeoff - it works as before if i load a new map but on the savegame I used the mod on the effects remains, anyway to properly remove the mod on savegame? ( I have tried to reload the mod and use the "temporarily disable" and the setting value at 0)
I do use a lot of mods, but only the classics fairly stable ones.
taj 11 Mar, 2023 @ 5:17am 
this is a thing

ROTTERdam: Road Texture Terrain Edge Remover by xlf1024 [Steam ID 2474567113]

This is compatible with the current game version.
The author seems to be retired. Future updates are unlikely.
If you have issues with nature reserve paths or the topographic lines overlay, read the mod description on the Steam Workshop for fixes.