Merge pull request #19786 from JFonS/correct_normal_scaling

Add render mode to ensure correct normals when using non-uniform scaling
This commit is contained in:
Rémi Verschelde
2018-07-04 15:09:59 +02:00
committed by GitHub
5 changed files with 21 additions and 1 deletions

View File

@ -172,6 +172,7 @@ ShaderTypes::ShaderTypes() {
shader_modes[VS::SHADER_SPATIAL].modes.insert("skip_vertex_transform");
shader_modes[VS::SHADER_SPATIAL].modes.insert("world_vertex_coords");
shader_modes[VS::SHADER_SPATIAL].modes.insert("ensure_correct_normals");
shader_modes[VS::SHADER_SPATIAL].modes.insert("shadows_disabled");