diff options
| author | Pedro J. Estébanez | 2016-09-07 01:52:54 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-09-18 23:11:08 +0200 |
| commit | c44757c2b7344f9f30c445245fa490082b06c5a9 (patch) | |
| tree | 093605a924a415adc1db3bdf05d710027c52e890 /tools/editor | |
| parent | ffe5ecd67da9af157e7ddf5861a7c0d6ccc4ca30 (diff) | |
| download | godot-c44757c2b7344f9f30c445245fa490082b06c5a9.tar.gz godot-c44757c2b7344f9f30c445245fa490082b06c5a9.tar.zst godot-c44757c2b7344f9f30c445245fa490082b06c5a9.zip | |
Expose light shadow color to canvas item shaders
(cherry picked from commit 09608876258ffa7d19be1fb887541f3798fa945e)
Diffstat (limited to 'tools/editor')
| -rw-r--r-- | tools/editor/plugins/shader_graph_editor_plugin.cpp | 2 |
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 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"); |
