Expose light shadow color to canvas item shaders

(cherry picked from commit 0960887625)
This commit is contained in:
Pedro J. Estébanez 2016-09-07 01:52:54 +02:00 committed by Rémi Verschelde
parent ffe5ecd67d
commit c44757c2b7
4 changed files with 8 additions and 0 deletions

View file

@ -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},