Godot: Using viewports to draw and process, GPU to CPU

Поділитися
Вставка
  • Опубліковано 20 жов 2024
  • 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.
    DOWNLOAD THIS FILE AND SUPPORT MY CHANNEL
    / dig-in-sand-with-10326...
    TAGS
    #godot #godot4 #shaders

КОМЕНТАРІ • 1