diff options
author | Juan Linietsky <juan@okamstudio.com> | 2015-01-20 20:25:19 -0300 |
---|---|---|
committer | Juan Linietsky <juan@okamstudio.com> | 2015-01-20 20:36:25 -0300 |
commit | 11c1756257368f3cd41702016c3303c0d22e3b59 (patch) | |
tree | 65a18926a726df7e550e964f8e0169a6fe8268ba /servers | |
parent | 79af8057107214a385505d3b130c42d8e4a7a875 (diff) |
Visual Shader Editing for 2D
Editing 2D shaders with visual editor seems to work now.
Diffstat (limited to 'servers')
-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 9a76a009a9..dfa0172e82 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -1112,6 +1112,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_vertex_builtins_defs[]={ { "SRC_VERTEX", TYPE_VEC2}, { "VERTEX", TYPE_VEC2}, + { "WORLD_VERTEX", TYPE_VEC2}, { "UV", TYPE_VEC2}, { "COLOR", TYPE_VEC4}, { "VAR1", TYPE_VEC4}, |