mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Merge pull request #82877 from tomissj2/master
Fog shader: Fix undeclared identifier `global_variables`
This commit is contained in:
commit
d351d40e29
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user