Hi everyone! I rewrote a two pass shader from SHADERTOY, and seems it's working. Each of the passes. But it works seperatly. I can claer previous pass and get same result. Am trying to set alpha(it was simple like ALPHA = 0.4) but it switched between shaders, not between image data.
I trying to change Render Priority but only one of each of two shaders is displayed, i swapped them, but only the upper shader is displayed. Shaders use a similar fragmnet() function, with SCREEN_TEXTURE to get image, and as i said doesnt matching with each other.And also doesnt matching with others shaders on 3d scene, they just doesnt display behind shaders, or they displaying over this.
On pic you can see my shader setup. So guys what i do wrong?Do i have to always create a viewport and a camera to get texture of spatial shader to use it as a sampler2D?I am not so good at shaders. Thanks!
