BlurFilter

Hi,

I made a Flash game a while back that I wanted to port to Corona, but it relied on a very slight BlurFilter to compose a scene with sprites on a background and make it look realistic (ie so there wasn’t a sharp contrast on the edges)

I don’t know if this is possible but would be a good addition, along with filters like Flash 8’s GlowFilter etc

Regards
J
[import]uid: 6645 topic_id: 1467 reply_id: 301467[/import]

Can you post some screenshots of the effect you are trying to achieve? [import]uid: 54 topic_id: 1467 reply_id: 4372[/import]

I would assume he is talking about a standard gaussion blur on either and object or the full screen level. If we had the ability to right shaders (Wink Wink Wink) this would be pretty easy. [import]uid: 5886 topic_id: 1467 reply_id: 4402[/import]

Until Corona has more support for OpenGL effects, you can try an oldSkool flash trick.

When I needed to fly on a title graphic with “motion blur” I simply used two images (one clean and one with a horizontal blur added/created in photoshop)
The transition.to/from API makes it easy to “fly” the blurred.png into position and then you can quickly fade it out while fading in the clean.png.

Experiment with timing of the xdissolve and you may be surprised how good it can look.

[import]uid: 5339 topic_id: 1467 reply_id: 4632[/import]

thanks but this was for a different purpose: blending, not movement.

I’ve got some static sprites cut out from a photograph. I want to duplicate and reposition these and blend back into the photograph. A very small amout of BlurFilter allows me to achieve this with the desired effect… it just hides the sharp edges and makes the composition look more natural.

regards
J [import]uid: 6645 topic_id: 1467 reply_id: 4662[/import]