Grease pencil Dot Dash modifier

I’m trying to recreate this effect, but can’t get it right.
I can only have 1 material and the second dot bash modifiers seems to override the first one.

Does anyone know how to get this multi color effect?

Principle of this effect with Dot Dash modifier is to give a different material to each segment.

To make a multi-color effect with only one material :

  • You can simply paint, using Tint brush, in Draw mode. Color attribute of GPStroke can correspond to a different color for each GPSegment.
  • You can add a texture to GP material.
2 Likes

Thanks!
I was able to achieve the effect by using a texture with 3 colors.