Arvtesh / UnityFx.Outline

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

URP Web GL Builds #72

Open JamesMcGhee opened 1 year ago

JamesMcGhee commented 1 year ago

Seeing an issue in Web GL build URP Unity 2022.2.4f1

In editor everything is fine (once we sort the shader issue regarding output.uv

In builds however the outline effect only ever applies to the world Z forward faces image In the image above we have 2 outlines applied by layer, the blue and the white they have the same basic settings aside which layer they are on and are used for a mouse over vs select

This as noted works perfectly fine in editor and in windows builds but isn't playing nice in the Web GL Build

JamesMcGhee commented 1 year ago

Quick update I tested this in 2022.3.4f1 as well and same issue

Works as expected in editor, only outlines the Z forward facing faces in Web GL build, Windows build works as expected.