Hey guys,
Sincere apologies as I apparently gave some bad advice. I was incorrectly remembering how this works. Setting ‘render in main pass’ to be false does not allow writing to regular depth, but it does allow rendering to Custom Depth.
Regular decals will not work with it, but you can use a box mesh and use something similar to “Worldposition behind translucency” but using CustomDepth to replace scene depth. Then you can do you own decal projection in a material.
[/QUOTE]
Hey.
Could you give more details on that solution ?
I’m actually working on a Water Material, derived from the “Water Plane” free asset, the Ocean one but added Transluceny to it.
I’m trying to add some “wake” behind a ship that would move on the water, and the Decals sounds the easiest way to do it, but as mentionned not working on transperent surfaces.
How can I do the “ghost opaque” mesh solution ?