How can I create a gradient-colored strip that can move along a specified path?

WX20230501-215504@2x

I want to create a gradient-colored strip that can move in a loop along a road.like this.thanks

Hello and welcome to the Babylon.js forum!

You could try animating texture UV coordinates. Examples can be found here:

3 Likes

This is an example for a radial gradient background colorization

gradient back | Babylon.js Playground (babylonjs.com)

I found a gradient example with lines
Lines System Examples | Babylon.js Playground (babylonjs.com)