summaryrefslogtreecommitdiff
path: root/servers/visual/shader_language.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-18 19:36:47 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-18 19:36:47 -0300
commitf0aeb036d1662b45f009e6ad1836dfd8a21c1181 (patch)
treebaad0b34180e43ff9f78ba7771809d15c43ee432 /servers/visual/shader_language.cpp
parentfce4c6eecbb094d3e64fc6b3ffa3b0b292fc4f0e (diff)
parentb54d96ceba19801f3ec59e1a611f74b428cdebe2 (diff)
Merge pull request #2715 from SaracenOne/shader_fix_and_enhancement
Write to 4-dimensional position access and shader graph code generation fix.
Diffstat (limited to 'servers/visual/shader_language.cpp')
-rw-r--r--servers/visual/shader_language.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp
index ea56306241..6532c3f0ac 100644
--- a/servers/visual/shader_language.cpp
+++ b/servers/visual/shader_language.cpp
@@ -1043,6 +1043,7 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::vertex_builtins_defs[]={
{ "SRC_TANGENT", TYPE_VEC3},
{ "SRC_BINORMALF", TYPE_FLOAT},
+ { "POSITION", TYPE_VEC4 },
{ "VERTEX", TYPE_VEC3},
{ "NORMAL", TYPE_VEC3},
{ "TANGENT", TYPE_VEC3},