I'm making this shader where I use generated and object coordinates to create these yellow lines made using gradient and wave textures. I want to know if there is a way to bend the texture coordinates so that the lines follow the curvature of the mesh

lines keep going straight

this mesh is made with an arrayed plane and curve modifier. All elements of this road are done in the shader editor.

  • $\begingroup$ if the mesh is made with array and curve, the texture should follow... maybe share your file (with image packed within): blend-exchange.giantcowfilms.com $\endgroup$ – moonboots Oct 16 '19 at 9:32

Follow Active Quads or Reset should be very handy if your road is made up of quads. This will give each quad a tile, which should be seamless if your texture is also seamless.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.