cakeslice / Outline-Effect

Outline Image Effect for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work correctly with multiple cameras (VR)

AIEUtrecht opened this issue · comments

When using a Virtual Reality headset (Vive) the outlines are shown slightly to the left of the object on the left screen and slightly to the right of the object on the right scene. This leads to two half transparent outlines on both sides of the object.

Ok, thanks for reporting, never tested in VR, will look into it when I get a VR headset on my hands.

Hi, I fix this for Google VR

1
2

@VadimTikhonyuk

Just to be clear, does this fix this issue specifically?
"The outlines are shown slightly to the left of the object on the left screen and slightly to the right of the object on the right scene. This leads to two half transparent outlines on both sides of the object."

Or does it only fix the fact that the outline can't render in multiple cameras?

Thanks!

@cakeslice
This works on Google VR, but I think on HTC Vive will work too, just same logic.

@VadimTikhonyuk

Ok, just committed your fix, but until someone tests with a Vive I'll keep this open.