1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Expose light shadow color to canvas item shaders

(cherry picked from commit 0960887625)
This commit is contained in:
Pedro J. Estébanez
2016-09-07 01:52:54 +02:00
committed by Rémi Verschelde
parent ffe5ecd67d
commit c44757c2b7
4 changed files with 8 additions and 0 deletions

View File

@@ -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");