Linear Wipe filter displays image as fully opaque

When using “filter.linearWipe” the image in the simulator is fully opaque, unless effect.smoothness is set to 0 in which case the image is fully transparent.

“filter.radialWipe” works as expected, as well as several other filters I tested.

My ultimate goal is to create an effect where the image appears to be wiped onto the screen over 250 ms.

I am using the Corona simulator on Windows.

Any help would be greatly appreciated!!!

local borderTop = display.newImage( sceneGroup, "img/default.png", display.contentWidth/2, display.contentHeight/2) borderTop.fill.effect = "filter.linearWipe" borderTop.fill.effect.direction = { 1, 0 } borderTop.fill.effect.smoothness = 1 borderTop.fill.effect.progress = .5

Hi @rafdevco,

Instead of using a linear wipe filter, how about using a simple container and then expand the bounds of the container to reveal more of the image over a time period?

https://docs.coronalabs.com/guide/graphics/container.html

Alternatively, you could use a mask and shift the mask’s X or Y to reveal more of the image:

https://docs.coronalabs.com/guide/media/imageMask/index.html

Best regards,

Brent

Hi @rafdevco,

Instead of using a linear wipe filter, how about using a simple container and then expand the bounds of the container to reveal more of the image over a time period?

https://docs.coronalabs.com/guide/graphics/container.html

Alternatively, you could use a mask and shift the mask’s X or Y to reveal more of the image:

https://docs.coronalabs.com/guide/media/imageMask/index.html

Best regards,

Brent