Post

Is there a way to get full-screen clickthrough transparency without having to use mouse_passthrough_polygon in #Godot 4? Yes! Through the magic of Window's chromakey styling and a color shader that bumps any pure black pixels out of the chromakey's range, we can do exactly that!

3 reposts20 likes

A neat bonus to this setup is pure-black textures that are in a CanvasLayer above the shader act as a mask to anything in the layers below it!

Do you know if this works on Linux as well? I've struggled with different techniques that ultimately failed to work, but I've not heard of this one until now.