summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_types.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-04 17:14:48 +0200
committerGitHub <noreply@github.com>2020-04-04 17:14:48 +0200
commitda887714be65290697f0b1071acde580711570bc (patch)
tree149c7080fc10f8809cbee827e2a8e0a80228d295 /servers/rendering/shader_types.cpp
parent1957c99ab497ea6a9660fd39dd2c61ee1a70fa8f (diff)
parentc54f80d35c5e91451b9feaac3a3187470cc069b4 (diff)
downloadredot-engine-da887714be65290697f0b1071acde580711570bc.tar.gz
Merge pull request #37570 from reduz/implement-sss
Re-implement subsurface scattering.
Diffstat (limited to 'servers/rendering/shader_types.cpp')
-rw-r--r--servers/rendering/shader_types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/shader_types.cpp b/servers/rendering/shader_types.cpp
index ba7b992e51..78fa2c2690 100644
--- a/servers/rendering/shader_types.cpp
+++ b/servers/rendering/shader_types.cpp
@@ -168,6 +168,8 @@ ShaderTypes::ShaderTypes() {
shader_modes[RS::SHADER_SPATIAL].modes.push_back("depth_test_disabled");
+ shader_modes[RS::SHADER_SPATIAL].modes.push_back("sss_mode_skin");
+
shader_modes[RS::SHADER_SPATIAL].modes.push_back("cull_back");
shader_modes[RS::SHADER_SPATIAL].modes.push_back("cull_front");
shader_modes[RS::SHADER_SPATIAL].modes.push_back("cull_disabled");