keijiro / KlakSpout

Spout plugin for Unity
The Unlicense
651 stars 97 forks source link

Sender 'Keep Alpha' not working properly with Builtin Rendering Pipeline and Texture capture method #103

Open bigsealgames opened 7 months ago

bigsealgames commented 7 months ago

When using the latest version (2.0.3: Bugfix) I can have a default Unity Particle System appear in OBS using the Spout2 capture plugin, but only when using URP. This only works when using the Texture capture method and with URP enabled. When I switch back the Built-In pipeline, a similar particle system shows up in Unity using Built-In materials, but does appear in OBS. Is there a way to have Keep Alpha support working for the Built-In pipeline?

bigsealgames commented 7 months ago

Oh I forgot to mention, I tested this using all of the different Composite modes on the OBS receiver side (Opaque, Converted Premultiplied Alpha, Default, and Premultiplied Alpha) only Opaque and Premultiplied Alpha are working right now with the latest versions of OBS and Spout with the corresponding plugins with the Built-In pipeline. However, using a filter like 'Color Correction' or "Chroma Key' causes the display to go blank with the default filter values.

Switching back to URP makes it work right away, though if this worked with the "Default" Composite mode and the Built-In pipeline that would be good as it usually has the best alpha quality without causing complications with other shaders.