summaryrefslogtreecommitdiff
path: root/drivers/gles3/shader_compiler_gles3.cpp
diff options
context:
space:
mode:
authorJFonS <joan.fonssanchez@gmail.com>2018-03-29 18:46:42 +0200
committerJFonS <joan.fonssanchez@gmail.com>2018-03-29 18:46:42 +0200
commit9c307d4b6c4bf4dc70835e7539158db5922b0d2c (patch)
tree87953de83eb14138d80d284ec616f05b58653cd7 /drivers/gles3/shader_compiler_gles3.cpp
parent4b4ed9b72454dea13bd5f0935806519e67f13fbc (diff)
Added flag on SpatialMaterial to disable shadows
Diffstat (limited to 'drivers/gles3/shader_compiler_gles3.cpp')
-rw-r--r--drivers/gles3/shader_compiler_gles3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.cpp b/drivers/gles3/shader_compiler_gles3.cpp
index 070c661c8a..d9c75db3d0 100644
--- a/drivers/gles3/shader_compiler_gles3.cpp
+++ b/drivers/gles3/shader_compiler_gles3.cpp
@@ -914,6 +914,7 @@ ShaderCompilerGLES3::ShaderCompilerGLES3() {
actions[VS::SHADER_SPATIAL].render_mode_defines["specular_phong"] = "#define SPECULAR_PHONG\n";
actions[VS::SHADER_SPATIAL].render_mode_defines["specular_toon"] = "#define SPECULAR_TOON\n";
actions[VS::SHADER_SPATIAL].render_mode_defines["specular_disabled"] = "#define SPECULAR_DISABLED\n";
+ actions[VS::SHADER_SPATIAL].render_mode_defines["shadows_disabled"] = "#define SHADOWS_DISABLED\n";
/* PARTICLES SHADER */