diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index b7c98b0ea9a..3727c788fde 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -1220,6 +1220,7 @@ void unregister_scene_types() { PhysicalSkyMaterial::cleanup_shader(); PanoramaSkyMaterial::cleanup_shader(); ProceduralSkyMaterial::cleanup_shader(); + FogMaterial::cleanup_shader(); #endif // _3D_DISABLED ParticleProcessMaterial::finish_shaders();