mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFog
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
This commit is contained in:
parent
9307808987
commit
1b2cd9f251
51 changed files with 2979 additions and 777 deletions
|
|
@ -178,6 +178,10 @@ void ShaderTextEditor::_check_shader_mode() {
|
|||
mode = Shader::MODE_CANVAS_ITEM;
|
||||
} else if (type == "particles") {
|
||||
mode = Shader::MODE_PARTICLES;
|
||||
} else if (type == "sky") {
|
||||
mode = Shader::MODE_SKY;
|
||||
} else if (type == "fog") {
|
||||
mode = Shader::MODE_FOG;
|
||||
} else {
|
||||
mode = Shader::MODE_SPATIAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue