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

Divide screen texture by luminance multiplier in compatibility

This commit is contained in:
Kaleb Reid
2025-08-26 18:50:44 -07:00
parent 06827c91c6
commit 8ad335eae0
2 changed files with 17 additions and 8 deletions

View File

@@ -1423,6 +1423,7 @@ MaterialStorage::MaterialStorage() {
actions.default_filter = ShaderLanguage::FILTER_LINEAR_MIPMAP;
actions.default_repeat = ShaderLanguage::REPEAT_ENABLE;
actions.apply_luminance_multiplier = true; // apply luminance multiplier to screen texture
actions.check_multiview_samplers = RasterizerGLES3::get_singleton()->is_xr_enabled();
actions.global_buffer_array_variable = "global_shader_uniforms";
actions.instance_uniform_index_variable = "instance_offset";