summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2016-09-07 01:52:54 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2016-09-07 01:52:54 +0200
commit09608876258ffa7d19be1fb887541f3798fa945e (patch)
treeb08a95cd7f636ec17830060cc1885ac8e0e131f1 /tools/editor/plugins
parentb69e422af930ba6b6e539607e9c7cf0b962ee196 (diff)
Expose light shadow color to canvas item shaders
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/shader_graph_editor_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/shader_graph_editor_plugin.cpp b/tools/editor/plugins/shader_graph_editor_plugin.cpp
index 815da48e96..e1e03bb64e 100644
--- a/tools/editor/plugins/shader_graph_editor_plugin.cpp
+++ b/tools/editor/plugins/shader_graph_editor_plugin.cpp
@@ -2417,6 +2417,7 @@ void ShaderGraphView::_create_node(int p_id) {
colors.push_back("Color");
colors.push_back("LightColor");
colors.push_back("Light");
+ colors.push_back("ShadowColor");
colors.push_back("Diffuse");
colors.push_back("Specular");
colors.push_back("Emmision");
@@ -2429,6 +2430,7 @@ void ShaderGraphView::_create_node(int p_id) {
reals.push_back("ShadeParam");
reals.push_back("SpecularExp");
reals.push_back("LightAlpha");
+ reals.push_back("ShadowAlpha");
reals.push_back("PointSize");
reals.push_back("Discard");