diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-09-17 18:34:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-17 18:34:22 +0200 |
commit | 80861b7d59b22010d6e3f4ee90c4bb97631ac20f (patch) | |
tree | 3fc1d3fdef39a5c8a6f0f9c8c25fb12ae8bd3250 /servers/visual | |
parent | c05ff0577fd9cc39a6968e65743f7d7da711bfe2 (diff) | |
parent | 09608876258ffa7d19be1fb887541f3798fa945e (diff) |
Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
Diffstat (limited to 'servers/visual')
-rw-r--r-- | servers/visual/shader_language.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 09b3ada509..fdf3cb622d 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -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}, |