1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #82877 from tomissj2/master

Fog shader: Fix undeclared identifier `global_variables`
This commit is contained in:
Rémi Verschelde
2023-10-05 22:51:48 +02:00

View File

@@ -228,7 +228,7 @@ void Fog::init_fog_shader(uint32_t p_max_directional_lights, int p_roughness_lay
actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
actions.default_repeat = ShaderLanguage::REPEAT_DISABLE;
actions.global_buffer_array_variable = "global_variables.data";
actions.global_buffer_array_variable = "global_shader_uniforms.data";
volumetric_fog.compiler.initialize(actions);
}