- Home /
How do I do custom camera render between opaque and transparent objects?
I made a custom rendered/generated texture, that I want to draw over everything after the opaque geometry is done rendering. I use OnPostRender() then, camera.renderWithShader which all works fine... but... it render 'after' all the transparencies and particle fx breaking the look.
How do I render in-between unity's usual Opaque and Transparent geometry? Is there no way to do with will one camera ? (unity 5.6.4)
I'm assuming it might be possible if I put all transparent and particle systems on other layers rendered by another camera.... but also assuming that would incur a fair bit of performance overhead.
Is there any way to do this with just the one main camera please ? help appreciated. thanks.
Your answer
Follow this Question
Related Questions
custom shader error. copy of "Nature/Tree Soft Occlusion Leaves" 0 Answers
Render inside of mesh as black 2 Answers
Rendering different shader when camera get near object 1 Answer
different material for multi camera 1 Answer
Camera with shader? 2 Answers