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
commit d351d40e29
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

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);
}