mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Expose light shadow color to canvas item shaders
(cherry picked from commit 0960887625)
This commit is contained in:
parent
ffe5ecd67d
commit
c44757c2b7
4 changed files with 8 additions and 0 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue