How can I affect colour of each particle as it is spawned in particle2d nodes

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wallasaurus

I have tried a few things - changing the material properties, process_material properties and so far I can modulate the colour of the whole emitter’s vertices, but not on a per particle basis.

I will keep exploring but I wanted to ask in case I am missing something simple. I only have a couple of weeks of godot tinkering so far.

Any help much appreciated!

:bust_in_silhouette: Reply From: Inces

You may need to get into shader code and assign color in regards with individual particle variables like INSTANCE_CUSTOM, NUMBER, or INDEX.