Multiple effects

Can someone explain me how to apply multiple effects to a single object? I found one old topic, but there are not so many information. Thanks.

Clarify what you mean by an effect.  Links and references to docs or sources you’re looking at would be useful.

The word ‘effect’ is very general and has no singular context-less meaning that jumps out.

Filters. Like blur and swirl together.

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

i dont think so.

I mean I would duplicate the the image and put it at a low alpha and apply the second effect but I never tried this.

Honestly just use something like paint.net/photoshop and apply the effects.

better finishing in my opinion.

The filter effects are not very “EFFECT-ive”

ha ha buy my comedy album.

What is “something like paint.net/photoshop”?)

Lul. I understood it earlier, bec I use some rectangles with gradient fill and with swirl filter and this looks not so smooth that I imagined.

UPD. I understood that u mean graphics editors))) No, I create random effects, so that means that I must generate them with corona tools.

Yes, there are ways to combine filters.  There used to be a good article on it, but it has gone missing.

Thankfully you can find it on the wayback machine:

https://web.archive.org/web/20131022234343/http://coronalabs.com:80/blog/2013/10/17/tutorial-multi-pass-shaders-in-graphics-2-0/

Addiontally, I’ll drop some other links that may (or may not) help:

You can also write your own custom shaders, so keep that in mind.

**UPDATED**

I’m looking into this.  

It seems, the docs imply the kernel/filter def need not be in a file.

You need to re-read the article more carefully. 

Don’t just copy-paste. 

The filter definition must be in a separate file.

Try this:

https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/07/multiShader.zip

Note: The third example (custom shader) is not working, but I probably goofed it up.)

Thanks, but I can’t do this with blur and swirl. You know, like swirl first, and then swirled fill should be blurred. I tried, and sometimes I got Corona crash, sometimes I got something strange: fill wasn’t swirled, but it was blurred. It would be cool if u send some help)))

Sorry, but that is about all the help I have time to give.  I’m not a shader expert, so any help beyond this basic starter example would be quite time consuming.

Hopefully an expert will see this and feel inclined to pitch in.

study kernel_filter_graph.lua in the included Filter Graph sample, replace scatter with blur (ought to take about two seconds), done.

Clarify what you mean by an effect.  Links and references to docs or sources you’re looking at would be useful.

The word ‘effect’ is very general and has no singular context-less meaning that jumps out.

Filters. Like blur and swirl together.

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

i dont think so.

I mean I would duplicate the the image and put it at a low alpha and apply the second effect but I never tried this.

Honestly just use something like paint.net/photoshop and apply the effects.

better finishing in my opinion.

The filter effects are not very “EFFECT-ive”

ha ha buy my comedy album.

What is “something like paint.net/photoshop”?)

Lul. I understood it earlier, bec I use some rectangles with gradient fill and with swirl filter and this looks not so smooth that I imagined.

UPD. I understood that u mean graphics editors))) No, I create random effects, so that means that I must generate them with corona tools.

Yes, there are ways to combine filters.  There used to be a good article on it, but it has gone missing.

Thankfully you can find it on the wayback machine:

https://web.archive.org/web/20131022234343/http://coronalabs.com:80/blog/2013/10/17/tutorial-multi-pass-shaders-in-graphics-2-0/

Addiontally, I’ll drop some other links that may (or may not) help:

You can also write your own custom shaders, so keep that in mind.

**UPDATED**

I’m looking into this.  

It seems, the docs imply the kernel/filter def need not be in a file.

You need to re-read the article more carefully. 

Don’t just copy-paste. 

The filter definition must be in a separate file.

Try this:

https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2018/07/multiShader.zip

Note: The third example (custom shader) is not working, but I probably goofed it up.)