Skip to content

Commit

Permalink
Merge pull request #82877 from tomissj2/master
Browse files Browse the repository at this point in the history
Fog shader: Fix undeclared identifier `global_variables`
  • Loading branch information
akien-mga committed Oct 5, 2023
2 parents 154d512 + e906eb8 commit d351d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/environment/fog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d351d40

Please sign in to comment.