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
|
|
@ -1180,6 +1180,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_light_builtins_defs[]={
|
|||
{ "LIGHT_HEIGHT", TYPE_FLOAT},
|
||||
{ "LIGHT_COLOR", TYPE_VEC4},
|
||||
{ "LIGHT_UV", TYPE_VEC2},
|
||||
{ "LIGHT_SHADOW", TYPE_VEC4},
|
||||
{ "LIGHT", TYPE_VEC4},
|
||||
{ "SHADOW", TYPE_VEC4},
|
||||
{ "POINT_COORD", TYPE_VEC2},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue