As shown in the figure, I want to generate a series of points in the line interval that can change color. How can I do this
There are multiple ways of changing the color of something It would help to know how you are generating these points. Are they textures? A Node Material?