summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-10-14 19:44:41 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-10-14 19:44:41 -0300
commitcd218b8c09482f9f9f2d15285d55ad955673697f (patch)
tree60a09595de85ac63027b916dc2344b6612975bf1 /servers/visual/rasterizer.cpp
parent94e35ef316caa0f713eef1c3823c8fa035508090 (diff)
Fixes
-=-=- -Fixed normalmap depth parameter -Fixes to DirAccess on Windows -Double click on resource dock will open them -Fixes to doc generator (should make github wiki on class list more up to date)
Diffstat (limited to 'servers/visual/rasterizer.cpp')
-rw-r--r--servers/visual/rasterizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.cpp b/servers/visual/rasterizer.cpp
index 64247c1f2a..5e81bc960a 100644
--- a/servers/visual/rasterizer.cpp
+++ b/servers/visual/rasterizer.cpp
@@ -102,6 +102,8 @@ RID Rasterizer::_create_shader(const FixedMaterialShaderKey& p_key) {
} else {
scode+="NORMALMAP=tex( fmp_normal_tex,"+uv_str+").xyz * vec3(2.0,2.0,1.0) - vec3(1.0,1.0,0.0);\n";
}
+ scode+="NORMALMAP_DEPTH=fmp_normal;\n";
+
code+=scode;
}