HDRP Outline asset is great for your game if you want draw outline different objects.
HDRP 7.1.7 or higher required.
– 2 outline modes (Hard and Soft)
– Easy to use
– Support texture masks (alpha clipping)
– Support screen-space pattern overlay of outline objects
– Depth Comparison parameter per material
– UVChannel parameter for mask
With Texture mask you can add outline to renderer with cutout material.
With Depth Comparison (ZTest) parameter you can draw outline of object with different effect:
1. “LEqual” (Less or Equal) draws outline of not occluded part of object (visible).
2. “GEqual” (Greater or Equal) draws outline of occluded part of object (occluded by scene depth).
3. “Always” draws outline of object always.