Is desaturating a display group possible?

At the start of my game I’d like everything to be in black&white/greyscale but then at a certain point for it to change to colour.  Is it possible to use the desaturate filter to affect the entire display/scene or do I have to apply it manually to every object?

Many thanks

No, can’t apply any fills, filters, generators to a group.

No, not better to apply to each object (if the objecsts are stationary), it is better to make a snapshot and apply filter to that.

https://docs.coronalabs.com/daily/api/type/SnapshotObject/index.html

Just my 2-cents.

You can grey-scale a display group by looping all the children and applying the relevant filter like this

for i = 1, displayGroup.numChildren do displayGroup[i].fill.effect = "filter.grayscale" end

just set the filter to “” to go back to colour

I have found no performance hit doing this to thousands of children in a display group.

No, can’t apply any fills, filters, generators to a group.

No, not better to apply to each object (if the objecsts are stationary), it is better to make a snapshot and apply filter to that.

https://docs.coronalabs.com/daily/api/type/SnapshotObject/index.html

Just my 2-cents.

You can grey-scale a display group by looping all the children and applying the relevant filter like this

for i = 1, displayGroup.numChildren do displayGroup[i].fill.effect = "filter.grayscale" end

just set the filter to “” to go back to colour

I have found no performance hit doing this to thousands of children in a display group.