Godot 4 - Using viewports to draw and process - GPU to CPU

Автор - Pixezy ссылка - От автора: The main concept of this tutorial is to demonstrate that you can process data inside a viewport using a shader (GPU) and return it to the CPU by extracting the texture (the results) from the viewport. Here I am using the viewports primarily to draw, but also to process the image and convert it to a bitmap with transparencies, which I can then convert to collision polygons in Gdscript.
Back to Top