I want to render my game with a transparent background/no background at all so that my desktop of my computer is visible behind the game, is there a way to make that possible?
Window transparency is usually controlled by the window manager, I don't know about windows but some linux desktops like lxde don't support transparency. There are ways to fake transparency, you would likely need a separate script to run along side the game to do this.
This is possible since Godot 3.1. In the Project Settings, enable the following settings:
I tried doing this in my project to no avail. what other steps are necessary to achieve a transparent background?
You need to call get_tree().get_root().set_transparent_background(true) first
how would you toggle it off and on with a button in game?