CS_BeatSaber_Camera2 icon indicating copy to clipboard operation
CS_BeatSaber_Camera2 copied to clipboard

Spout2 compatibility to be able to record with an alpha channel

Open blackorbit1 opened this issue 3 years ago • 2 comments

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

  • record a gameplay and select an environment afterward
  • some funky effects for streamers
  • easly blend 2 or more gameplays for collabs
  • help in creation of video thumbnails

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.

blackorbit1 avatar Sep 14 '22 12:09 blackorbit1

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

kinsi55 avatar Sep 14 '22 12:09 kinsi55

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)

blackorbit1 avatar Sep 14 '22 13:09 blackorbit1