Hey,
I have a post process material and I need some help understanding how it works with translucency.
The post process material is fairly simple. Basically, there’s a mask that is applied to the world, and fragments are rendered as completely white (and with no lighting) where the value of the mask is 1.
Here’s an overhead shot of what that looks like:
Now, the issue is with translucency. As you can see, there is an ocean in this scene, which is translucent. When this translucent ocean surface is in front of fragments that are white (in this case, the ones of the landscape), only the fragments of the opaque object are rendered.
The image below shows what I actually want, but demonstrated by modifying the ocean’s material separately rather than using the post process material. Here the water can be seen all the way beyond the cube, which is what I want, but I want to achieve it with the post process material above.
Pretty sure this is a fairly simple issue and I’m just overlooking something obvious in regards to translucency sorting, but any help is appreciated.