diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-07-08 14:01:56 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-07-08 14:01:56 -0300 |
commit | e577c5b0705168177943fcdf9a0b66c1f8f864f3 (patch) | |
tree | ce5a473a273a0c8c209fd1b0b1c365449af9b689 /servers | |
parent | f4c8c552f956094e1bb8787de79476f57dd6a7b6 (diff) |
Some adjustments to toon material to make it more flexible
Ability to also disable specular
Diffstat (limited to 'servers')
-rw-r--r-- | servers/visual/shader_types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_types.cpp b/servers/visual/shader_types.cpp index 9cd7a3faeb..599a6419a7 100644 --- a/servers/visual/shader_types.cpp +++ b/servers/visual/shader_types.cpp @@ -142,6 +142,7 @@ ShaderTypes::ShaderTypes() { shader_modes[VS::SHADER_SPATIAL].modes.insert("specular_blinn"); shader_modes[VS::SHADER_SPATIAL].modes.insert("specular_phong"); shader_modes[VS::SHADER_SPATIAL].modes.insert("specular_toon"); + shader_modes[VS::SHADER_SPATIAL].modes.insert("specular_disabled"); shader_modes[VS::SHADER_SPATIAL].modes.insert("skip_vertex_transform"); shader_modes[VS::SHADER_SPATIAL].modes.insert("world_vertex_coords"); |