I have been trying to add a highlight layer on a transparent object, but the highlight layer will not be shown on any objects with alpha/visibility less than 1
Unfortunately that is not what I’m looking for. Try enabling it on the sphere instead of the ground and you will get what I mean: https://playground.babylonjs.com/#M0XJR4#5
I’m trying to create an outer glow, and I don’t need any of the inner edges.
Actually, to simplify the problem (possibly), I just need to hide the mesh somehow while displaying the highlight layer (or some other possible solutions).
This is unfortunately not possible at the moment and I am wondering how we could do this. Actually, Hightlights do not support transparency due to the incompatibility with blend mode and depth writes.
I am wondering if we could “fake it” by disabling color draw for the dedicated mesh in the main rendering and then re-enabling it (keeping it not transparent to be compatible with highlights).