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); }