diff options
author | JFonS <joan.fonssanchez@gmail.com> | 2018-03-29 18:46:42 +0200 |
---|---|---|
committer | JFonS <joan.fonssanchez@gmail.com> | 2018-03-29 18:46:42 +0200 |
commit | 9c307d4b6c4bf4dc70835e7539158db5922b0d2c (patch) | |
tree | 87953de83eb14138d80d284ec616f05b58653cd7 /drivers/gles3/shader_compiler_gles3.cpp | |
parent | 4b4ed9b72454dea13bd5f0935806519e67f13fbc (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.cpp | 1 |
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 */ |