diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-27 08:11:54 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-27 08:11:54 -0300 |
commit | 0adca0a7c9e44177df4cefd1f414359a4edb419b (patch) | |
tree | 4f63469b814d1b739db657a9753feabc934f5ab6 /servers/visual | |
parent | 82cbee2d2d3254d321efed7fdf5fc714cd3850b5 (diff) |
-made normalmaps easier in 2D, fixes #1467
Diffstat (limited to 'servers/visual')
-rw-r--r-- | servers/visual/shader_language.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 9b1b61dcef..16676cec83 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -1145,6 +1145,8 @@ const ShaderLanguage::BuiltinsDef ShaderLanguage::ci_fragment_builtins_defs[]={ { "SRC_COLOR", TYPE_VEC4}, { "POSITION", TYPE_VEC4}, { "NORMAL", TYPE_VEC3}, + { "NORMALMAP", TYPE_VEC3}, + { "NORMALMAP_DEPTH", TYPE_FLOAT}, { "UV", TYPE_VEC2}, { "COLOR", TYPE_VEC4}, { "TEXTURE", TYPE_TEXTURE}, |