You've already forked godot
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user