I want to implement in future a behind-effect shader, a usual thing in RTS games displaying units behind trees/buildings/obstacles as a coloured outline or a filled shape like this:
any idea how does it work? I want to avoid using a new view, maybe a 2nd pass is enough?