kinsi55 / CS_BeatSaber_Camera2

Adds a lot of options / tools for creating more advanced desktop viewing experiences with multiple camera angles and much more in Beat Saber
MIT License
118 stars 13 forks source link

Spout2 compatibility to be able to record with an alpha channel #89

Open blackorbit1 opened 1 year ago

blackorbit1 commented 1 year ago

Having the ability to record with transparency could open a lot of doors in artistic creations. For instance:

This script seems to allow that just by enabling it on a camera in the unity editor https://github.com/keijiro/KlakSpout https://www.youtube.com/watch?v=iIwcqgAPVWI

Maybe it would be possible to have 1 spout2 sender per camera to allow either to blend the differents layers and external effects on obs or record all of them and chose how we want to blend them while editing the video.

kinsi55 commented 1 year ago

System requirements

Unity 2020.3 or later

Already kinda ruled out by that - Beat saber uses 2019.4, and even beyond that, its DX10 not 11/12

blackorbit1 commented 1 year ago

Here's a fork that makes it work with 2019.4 https://github.com/fuqunaga/KlakSpout. I see some references to DX10 in the code but it's not explicitely said that it supports it.

Here's another one that introduce support to 2019.2 and explicitely DX9 (which may be compatible with DX10 if DX10 has retro-compatibility (would be sad if it were compatible with DX9 and DX11 but not DX10 :') )) https://github.com/mightypanda/KlakSpout (I also see some references to DX10 in the code but it's not explicitely said that it supports it)