- Home /
Question by
temptest123 · Jan 17, 2013 at 10:00 AM ·
shaderrenderingrendertexture
How to control when which passes are rendered?
as I understand it, Unity draws all passes of a shader after each other. How can I get more control of what gets rendered when?
I would like to achieve the following:
render each of my objects into a renderTexture using pass1 of my shader
do something with the renderTexture (i.e. apply some fullscreen effects using another shader)
render each of my objects to the framebuffer using pass2 of my shader
How can I achieve this?
Comment
Your answer
Follow this Question
Related Questions
How to Sample colors from a quad to a RenderTexture? 1 Answer
RenderTexture to Shader everyframe 0 Answers
[Unity SRP] How do I clear 3d RW RenderTexture? 1 Answer
CustomRenderTexture not working 5 Answers
Pixelart camera shader 2 Answers