Answer the question
In order to leave comments, you need to log in
How to render to texture with custom shader for current viewport?
I need to get a texture which will then be used to render the post effect. As far as I understand, in order to get it, you need to render to a texture with a specific shader for the current viewporta-a. Then use this texture in the post effect shader.
In pure OpenGL, I would do this:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question