ROTTERdam: Road Texture Terrain Edge Remover

If you liked this item, please rate it up on Steam Workshop page.

Authors: Chamëleon TBN, xlf1024

Last revision: 9 Jun, 2021 at 18:38 UTC (2)

File size: 30.72 KB

On Steam Workshop

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 ROTTERdam channels on Kian’s discord[discord.gg]

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

Download
Required items:

Click the title to search on this site.


Harmony 2.2.2-0 (Mod Dependency) [1.16.0-f3 compatible]Steam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.