D
DeDelner
Guest
Hello again,
new problem ^^"
Since my godrays shader is working, I want to use multiple shaders. The first shader will render the godrays and the second shader will do some processing stuff like vignette. Now my question is, how do I use multiple shaders at once? Like how do I render my godrays first, so that my post process shader can manipulate the rendered image of the godrays with a sampler2D texture and apply it to the application surface?
Maybe I do have to work with custom surfaces? But I honestly didn't get how to work with them (yet).
new problem ^^"
Since my godrays shader is working, I want to use multiple shaders. The first shader will render the godrays and the second shader will do some processing stuff like vignette. Now my question is, how do I use multiple shaders at once? Like how do I render my godrays first, so that my post process shader can manipulate the rendered image of the godrays with a sampler2D texture and apply it to the application surface?
Maybe I do have to work with custom surfaces? But I honestly didn't get how to work with them (yet).