Background Shaders

How do I use a shader as the background for my app ? I will use the default shader as my background . I have the code for the default background but I don’t know how to use it in my app . Can someone help ? also can I change the speed and the rotation ?

void mainImage( out vec4 fragColor, in vec2 fragCoord ) { vec2 uv = fragCoord.xy / iResolution.xy; fragColor = vec4(uv,0.5+0.5\*sin(iGlobalTime),1.0); }

https://coronalabs.com/blog/2015/04/15/custom-shader-effects/

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

https://coronalabs.com/blog/2013/10/17/tutorial-multi-pass-shaders-in-graphics-2-0/

https://coronalabs.com/blog/coronageek/corona-geek-149/

That was from 20 seconds of searching. No one has a magic wand; you need to comb through the documentation and research a solution to your unique issue.

None of those links show me how I can put the effects as my background for my app

https://www.youtube.com/watch?v=PmTV1z8ZIfY&feature=youtu.be

I appreciate all the help and time you put in to help me figure out my problem but , I don’t think you fully understand . In order for you to see exactly down to root of what I want is to see on the Instagram page on your mobile device if you could 

As sacrilegious as this may sound, I don’t use Instagram.

Dang . I’ll try to get it hold on a sec.

Do you have an Android device?  If so, this app is the ‘select’ version of the module.  Touch the screen to see what it can look like.  That is it.  However, the code is easy to modify and experiment with.  Its pretty easy to use it to plug in other shaders and give them a whirl.

http://github.com/roaminggamer/RG_FreeStuff/raw/master/ForumsImages/Shader%20Back.apk

http://crevisio.com/photo/ijIqOgkVb

It’s exactly like that but the colors fade in a circular motion and change . Colors : orange purple pink blue green .

I want the colors to fade into another color . About 6 colors and then reset 

Please only ask your question once. There are three threads going. I’m going to lock two them. Please use the one thread to solve this issue.

https://forums.coronalabs.com/topic/65695-gradient-paint-background/

Rob

https://coronalabs.com/blog/2015/04/15/custom-shader-effects/

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

https://coronalabs.com/blog/2013/10/17/tutorial-multi-pass-shaders-in-graphics-2-0/

https://coronalabs.com/blog/coronageek/corona-geek-149/

That was from 20 seconds of searching. No one has a magic wand; you need to comb through the documentation and research a solution to your unique issue.

None of those links show me how I can put the effects as my background for my app

https://www.youtube.com/watch?v=PmTV1z8ZIfY&feature=youtu.be

I appreciate all the help and time you put in to help me figure out my problem but , I don’t think you fully understand . In order for you to see exactly down to root of what I want is to see on the Instagram page on your mobile device if you could 

As sacrilegious as this may sound, I don’t use Instagram.

Dang . I’ll try to get it hold on a sec.

Do you have an Android device?  If so, this app is the ‘select’ version of the module.  Touch the screen to see what it can look like.  That is it.  However, the code is easy to modify and experiment with.  Its pretty easy to use it to plug in other shaders and give them a whirl.

http://github.com/roaminggamer/RG_FreeStuff/raw/master/ForumsImages/Shader%20Back.apk

http://crevisio.com/photo/ijIqOgkVb

It’s exactly like that but the colors fade in a circular motion and change . Colors : orange purple pink blue green .

I want the colors to fade into another color . About 6 colors and then reset 

Please only ask your question once. There are three threads going. I’m going to lock two them. Please use the one thread to solve this issue.

https://forums.coronalabs.com/topic/65695-gradient-paint-background/

Rob