Drawing with Shaders - Godot Engine
Автор: Knower Coder
Загружено: 2025-01-12
Просмотров: 840
This video demonstrates how to draw on a canvas item using shaders in the Godot game engine. Traditional methods of drawing involve complex, performance-heavy texture operations in GDScript. However, in this video, we use shaders along with self-buffering techniques to create a simple drawing tool. You can use this as a foundation to develop a more sophisticated drawing tool with features like changing colors, erasing, and more.
Project Code: https://github.com/knowercoder/Drawin...
Shadertoy references:
Paint by mouse: https://www.shadertoy.com/view/MlXczf
Line draw: https://www.shadertoy.com/view/ddSSRG
00:00 Intro demo
01:45 shadertoy source code
05:45 shader and buffer explanation
09:35 mouse position gd script
12:00 conclusion / end
Thank you for watching!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: