Robinseibold / Unity-URP-Outlines

A custom renderer feature for screen space outlines
MIT License
590 stars 51 forks source link

Does not work in Unity 2021.3.5f1 (Or am I missing something?) #6

Closed ZacharyLaurin closed 2 years ago

ZacharyLaurin commented 2 years ago

The outlines do not show up at all in this version of Unity. I downloaded and tried the Pull Request from the other issue (Necka44's one) but they still don't show up. I am wondering if I am missing something that I should enable.

image

These are the settings am I using. In the URP asset I have Depth Texture enabled and MSAA disabled. On the camera, Post Processing (Though I do not know if this matters) is also enabled. All the layers are correctly assigned too. Does anyone know of a fix? Or if there is a value in particular I should tweak? Currently I don't notice any change with any values.

Edit: Setting "Render Pass Event" to After Rendering Opaques does not change anything either.

This is the scene in question I am trying it in.

image

ZacharyLaurin commented 2 years ago

Deleting the whole Universal Renderer Data and setting it all up again somehow fixed it. Also I can confirm it only works with After Rendering Opaques.