Code Monkey home page Code Monkey logo

Comments (1)

Zylann avatar Zylann commented on June 19, 2024

That would be nice to have, but I have no time dedicated to work on this currently.

I wonder if I could ask if you had any advice about how best to implement this sort of behaviour.

I also don't know how it would actually be rendered. Only road systems I know still use meshes or at least some kind of extra drawing, and are a bit complicated, especially when having to cobble it up with GDScript.

My initial thoughts were to add the road texture as one of the TextureArray layers, and then blend it using a splatmap

That wouldn't work at all because that doesn't contain direction information and will lack precision, it would end up the same as yet another paintable ground texture, which is not going to give you the result you want.

I also wondered about the Godot decal plugin

No need for plugins, Godot already has a Decal node built-in. But for roads I'm still not sure how it would work. If your goal is to not create any geometry, you could eventually work out a solution without even touching the terrain plugin, by placing "road tiles" using decal nodes? But if you want full spline support with any number of bends and intersections then that's an order of magnitude more complex to implement.

from godot_heightmap_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.