Optimise GPU/CPU usage

Hi al of you code warriors :slight_smile:
I had this thing working:

and added an echo effect:

but now i am worried about energy consumption.
in line 86 you will find that i update the visibility of the echoes by setting the colours alpha.
ideally i want to define the alpha at initialisation of the class and it bring up the idea of a multi-dimensional array but i i’ve been struggling with it so now i am asking.

Like this? https://playground.babylonjs.com/#MZ7QRG#2798


Thank you so very much!
Now i am so glad i asked :slight_smile: