Multiple filters for one object?

Hello. I’d like to make background (which is actually a shader) with couple filters on it, but in the end I have just a white screen. I have this code:

local background = display.newRect( sceneGroup, centerX, centerY, displayWidth, displayHeight ) background.fill.effect = "generator.custom.settingsShader" background.fill.effect = "filter.pixelate" background.fill.effect.numPixels = 4

But as I told it shows only white screen. So is it possible to apply several filters to the same object with shader? Thank you.

I believe only two on one object at a time are possible, but that might have changed with more advanced code recently…

https://docs.coronalabs.com/guide/graphics/effects.html#composite-effects

There used to be an article here on multi-pass shaders but I couldn’t find it.  However, here is an external blog post about it:

http://www.sdknews.com/cross-platform/corona/tutorial-multi-pass-shaders-in-graphics-2-0

I believe only two on one object at a time are possible, but that might have changed with more advanced code recently…

https://docs.coronalabs.com/guide/graphics/effects.html#composite-effects

There used to be an article here on multi-pass shaders but I couldn’t find it.  However, here is an external blog post about it:

http://www.sdknews.com/cross-platform/corona/tutorial-multi-pass-shaders-in-graphics-2-0