cakeslice / Outline-Effect

Outline Image Effect for Unity
MIT License
1.48k stars 201 forks source link

Option to keep outlines behind objects #22

Open cakeslice opened 7 years ago

viveleroi commented 7 years ago

I was using a basic outline shader but it didn't meet my needs, and this does, so first off, thanks a lot for providing this. I would like to find a way to prevent the outline of any non-player sprite from ever covering my player sprite. I can do this with a sorting layer if that's ever supported.

Murphyy1996 commented 6 years ago

Hi, I checked out this shader today for implementation into a project and ran into the same issue, however I have found a work around that works with multiple cameras. I can send the modification I have made to the outline script if you like to help with this issue?

viveleroi commented 6 years ago

I'd like to know what you did but it doesn't immediately sound like the most efficient solution.

hedgefield commented 4 years ago

Any chance of this feature being added? It's my primary usecase for having an outline.

DjeyMusic commented 4 years ago

Hey! I almost do not know at all shader coding and I haven't found anyway to add this feature. It would be wonderful if someone could help =D