alelievr / HDRP-Custom-Passes

A bunch of custom passes made for HDRP
MIT License
1.27k stars 136 forks source link

Outline Shader not working as expected in VR #19

Closed agandia closed 4 years ago

agandia commented 4 years ago

Hi,

I am using the outline effect to highlight the Objects that the VR character can pick up or interact with. I imported the Custom pass volume and, the SelectionColor.cs script from your original project and set the glowing objects to the right layer.

I see a double outline, one per eye. The left eye looks correct, but for the right eye, the outline is displaced to the right of the actual object, creating a confusing effect. image

Any ideas on how to work around this?

Thank you!

alelievr commented 4 years ago

Fixed in this commit: c9d9859e55a71790a8490abe282e33fd01583de4