kirurobo / UniWindowController

Makes your Unity window transparent and allows you to drop files
MIT License
304 stars 35 forks source link

The camera, when activated with post-processing, cannot achieve transparency #71

Open DearIcer opened 3 weeks ago

DearIcer commented 3 weeks ago

Environment

Unity 2022.3.17f1 Universal RP 14.0.9 UniWinC 0.9.3

Description

I need some post-processing effects like anti-aliasing, bloom, etc. However, after enabling Post Processing, the background transparency is no longer effective.

FB3E1CFDB315302BC6BE249291DB4547 4E8EB8E5FDBE3190902D21C2A8F709F4

kirurobo commented 2 weeks ago

The default shaders in URP do not seem to be able to keep the alpha channel. It seems that alpha processing was added in URP 17, but I think we will need to use customized shaders in Unity 2022.