I got a bit stuck on a material I am trying to create as a practice thing.
I want to make a material that, every second or so, spawns a new dot. This dot will be placed at a random location on the canvas, and has a random colour. Each new dot is additive, so the longer the session goes on, the more dots will be on the canvas. It would be great if the dots would also mix their colours when they overlap, but that was more of a stretch-goal. (I essentially want to make a painters canvas, that automatically throws more and more paint at itself, and make some beautiful modern art)
The random placement and colour of the dots was easy.
But I have no clue how to handle the additive nature of what I’m trying to make. I essentially want the material to spawn a new layer every time, but I’m not sure if that is even possible, or how I would handle that efficiently. If someone could point me into the right direction, that would be great!
Here is the material thusfar:
Note: The position and colour are parameters which are updated from a blueprint. The material is made to be a dynamic material instance at begin play.