How to override post processing rendering order?

LightningCyborg
Thu, 14 Dec 2017 20:11:14 +0000
Rendering

I am currently working on a flight simulation project and I am trying to add outlines similar to the ones used in Borderlands series to the project. I have a prototype which kind of works using custom depth and post processing. But there is a problem. There are trails after the player controlled airplane with material made translucent. These trails are meant to be cover the airplane when they overlap, i.e. the outlines could not be seen through the trail. So I set the Blend Location to be Before Translucency in the post processing material. But when the airplane flies over background water whose material is also translucent, the outlines would be gone because they are rendered after the water material. Is there a way to better control the order of rendering with post processing so that the outlines could be drawn after the water material and before the trail?

5 posts - 5 participants