.url//GRAE @grae.software · Mar 3

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!

19 likes 2 replies

?

Replies

.url//GRAE · Mar 3

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!

zikes 🍑 💨 · Mar 3

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.