CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
577 stars 85 forks source link

speed limit overlays are not clear over trees #1227

Open kianzarrin opened 2 years ago

kianzarrin commented 2 years ago

image as you can see in the image above the speed limit overlay is not very clear. it can blend into the trees and hide under the road name now. Is there any need to fix this issue?

originalfoo commented 2 years ago

Is this specifically due to the mod settings UI allowing transparency value to be set too low (eg. should there be a min transparency enforced)?

kianzarrin commented 2 years ago

Is this specifically due to the mod settings UI allowing transparency value to be set too low (eg. should there be a min transparency enforced)?

@aubergine10 I edited the picture. latest version and max transparency this time.

kianzarrin commented 2 years ago

One solution to this would be to show the speed limit on both side although is confusing. maybe change color?

originalfoo commented 2 years ago

When editing by segment (rather than lane) what if speed sign was a bit bigger?

I noticed that when editing by lane the signs get bigger than when editing by segment. That could be flipped? Related: https://github.com/CitiesSkylinesMods/TMPE/issues/1221#issuecomment-990229889

kianzarrin commented 2 years ago

@kvakvs is this still an issue?

kvakvs commented 2 years ago

It probably is the same, nothing changed in the game and in the rendering code. Since Sunset Harb the overlay render order has changed it is now after UI but somewhere possibly before the street names overlay. Not sure if we have any control over render order.

krzychu124 commented 2 years ago

It's impossible for GUI calls to be before anything. They were/are always after everything so on top of already rendered things (UI/3d scene), cannot be reordered.

kvakvs commented 2 years ago

in the past i had success with making a shader which ignores Z and renders in world space but over any geometry

krzychu124 commented 2 years ago

yeah, but as you've said that requires a shader so completely different use case. With custom shaders you can do everything.