From 5fd671b8a7fba2be956bc30f6510a9a01829fbda Mon Sep 17 00:00:00 2001 From: Chaosus Date: Fri, 22 Feb 2019 20:38:58 +0300 Subject: Major improvements for visual shader system --- editor/plugins/visual_shader_editor_plugin.cpp | 804 +++++++++++++++++++++++-- editor/plugins/visual_shader_editor_plugin.h | 59 +- 2 files changed, 811 insertions(+), 52 deletions(-) (limited to 'editor') diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index 7bd26de092..151c96bc83 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -39,6 +39,7 @@ #include "scene/gui/menu_button.h" #include "scene/gui/panel.h" #include "scene/main/viewport.h" +#include "scene/resources/visual_shader_nodes.h" Control *VisualShaderNodePlugin::create_editor(const Ref &p_node) { @@ -107,16 +108,174 @@ void VisualShaderEditor::remove_custom_type(const Ref