Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle roads with curbs? #110

Open
spimort opened this issue May 31, 2024 Discussed in #109 · 1 comment
Open

How to handle roads with curbs? #110

spimort opened this issue May 31, 2024 Discussed in #109 · 1 comment
Labels
enhancement New feature or request

Comments

@spimort
Copy link
Owner

spimort commented May 31, 2024

Discussed in #109

Originally posted by Flynsarmy May 29, 2024
One issue I've had with every terrain solution is difficulty in adding roads that cut into the terrain. Think a suburban neighbourhood that has roads with curbs. The road is cut about 10cm down into the terrain - it's the curb that's at roughly terrain height.
image

There are a few ways this can be handled:

  1. Make the road at terrain height and slope the path beside the road up to give the illusion the road is cut into the terrain:
    image
    Disadvantage is that it doesn't look quite right.

  2. Add the road splines above the terrain then manually paint the terrain height below the road to hide it. Disadvantage is that this process is manual and when you change terrain height, the road won't move with it.

  3. Adding the road updates a splatmap that is sent to the terrain shader that automatically lowers the terrain. This is probably the correct solution but no idea how to do it.

Could we get some sort of road tool for this addon (or even a Roads addon that works alongside this tool) with this functionality? We've seen a million 'here is an empty field' terrains, but as it stands it's difficult to make any terrain set in the modern world.

@spimort spimort added the enhancement New feature or request label May 31, 2024
@spimort
Copy link
Owner Author

spimort commented Sep 25, 2024

Inspiration video form @raldor123 :
https://www.youtube.com/watch?v=jF6K3BkAa9M&t

Super interesting, I think it could work that way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant