From c44757c2b7344f9f30c445245fa490082b06c5a9 Mon Sep 17 00:00:00 2001 From: Pedro J. Estébanez Date: Wed, 7 Sep 2016 01:52:54 +0200 Subject: Expose light shadow color to canvas item shaders (cherry picked from commit 09608876258ffa7d19be1fb887541f3798fa945e) --- tools/editor/plugins/shader_graph_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/editor/plugins') diff --git a/tools/editor/plugins/shader_graph_editor_plugin.cpp b/tools/editor/plugins/shader_graph_editor_plugin.cpp index 815da48e9..e1e03bb64 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"); -- cgit v1.2.3-70-g09d2