Hi, I am trying to make a post effect script + shader. I am having problems making the background(no geometry) solid white. I tried rendering everything in white in a frist pass, then another pass whit vert and frag programs where I do the effect, but the background doesn’t stay white after the 2’nd pass. I got the effect working apart from the white background thing. How can I make the background(no geometry) a solid color? Thanks
It’s not clear exactly what you’re doing, but perhaps you need to set the background colour of your cameras to white?
Have you tried writing white color to the alpha channel of scene buffer?
And after that is your effect writing on top of that color again?