You've already forked godot
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:
@@ -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_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
|
||||||
actions.default_repeat = ShaderLanguage::REPEAT_DISABLE;
|
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);
|
volumetric_fog.compiler.initialize(actions);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user