Arvtesh / UnityFx.Outline

Screen-space outlines for Unity3d.
MIT License
1.28k stars 90 forks source link

Added opaque texture requirement to URP section #19

Closed joshcamas closed 4 years ago

joshcamas commented 4 years ago

It took a while to realize I needed the opaque texture rendering feature enabled on URP. So this just adds that as a note.

Arvtesh commented 4 years ago

Actually Opaque Texture checkbox in URP general settings should not be a requirement. The sample app in the repo works without it for instance. Why do you think it is needed? Could you share more details on your case?

joshcamas commented 4 years ago

In my case, I had transparent particles in my scene - it looks like anything transparent somehow gets rendered on top of everything when outlines are enabled. Is there another solution to this other than opaque texture?

Arvtesh commented 4 years ago

I still don't get the problem, sorry. Transparent geomentry is supposed to be rendered after opaque, that's how it works.. Do you want the particles to be outlined? Outlines don't work when particles are enabled? I need more details :).

Arvtesh commented 4 years ago

Closing this because this should not be a requirement anyway. It's either a bug in the library or usage issue. Please open an issue if this is not resolved for you.