1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Merge pull request #6414 from RandomShaper/improve-shader-shadow

Expose additional light/shadow properties to canvas item shaders
This commit is contained in:
Rémi Verschelde
2016-09-17 18:34:22 +02:00
committed by GitHub
7 changed files with 14 additions and 6 deletions

View File

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