Open MewPurPur opened 1 week ago
Should this be display wide or only inside the application? And if for the whole display, should there be a zoom thingy following the mouse?
I think it should only be inside the application, so that we could have this zoom thingy following the mouse. (it wouldn't work otherwise, would it?)
I guess, but in my opinion it's best to start off simple. Transparent windows feels like something that can open a can of worms, like, this is the kind of stuff that fails on certain machines or platforms. Even if it's strictly better, a fallback will probably still be needed.
Implementation in Godot should look something like:
1) Get viewport texture
2) Turn into image
3) Blit the image to the relevant part and upscale it with nearest filtering
4) Take center pixel as the color and draw graphics
Firefox has this implementation and it looks awesome: