diff options
| author | Rémi Verschelde | 2016-09-17 18:34:22 +0200 |
|---|---|---|
| committer | GitHub | 2016-09-17 18:34:22 +0200 |
| commit | 80861b7d59b22010d6e3f4ee90c4bb97631ac20f (patch) | |
| tree | 3fc1d3fdef39a5c8a6f0f9c8c25fb12ae8bd3250 /tools/editor | |
| parent | c05ff0577fd9cc39a6968e65743f7d7da711bfe2 (diff) | |
| parent | 09608876258ffa7d19be1fb887541f3798fa945e (diff) | |
| download | godot-80861b7d59b22010d6e3f4ee90c4bb97631ac20f.tar.gz godot-80861b7d59b22010d6e3f4ee90c4bb97631ac20f.tar.zst godot-80861b7d59b22010d6e3f4ee90c4bb97631ac20f.zip | |
Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
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 aa66a2e0d..3ab906f84 100644 --- a/tools/editor/plugins/shader_graph_editor_plugin.cpp +++ b/tools/editor/plugins/shader_graph_editor_plugin.cpp @@ -2422,6 +2422,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"); @@ -2434,6 +2435,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"); |
