mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +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:
commit
80861b7d59
7 changed files with 14 additions and 6 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue