Arvtesh / UnityFx.Outline

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

Appears to not work in URP with unity 2023.2.3 #76

Open dizzy2003 opened 9 months ago

dizzy2003 commented 9 months ago

Last version it worked with that I tested was unity 2023.1.8

in Unity 2023.2.3 whenever an object is enabled for ouline rendering all opaque surfaces tturn skybackground blue (but their geom is still rendered as can be seen in wireframe view)

WazWaz commented 8 months ago

Weirdly, it works fine if I comment out the fragment shader.

    Pass
    {
        Name "Transparent"

        HLSLPROGRAM

        #pragma multi_compile_instancing
        #pragma vertex Vert
        //#pragma fragment FragmentAlphaTest

        ENDHLSL
    }

No idea why.