From c9db7aaa07bb33f0dca27cb99b6485d4d231a8ca Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Fri, 10 Mar 2023 02:36:22 -0300 Subject: [PATCH] Unconditionally import tonemapping utils, ensuring dither is present --- crates/bevy_pbr/src/render/pbr_functions.wgsl | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/bevy_pbr/src/render/pbr_functions.wgsl b/crates/bevy_pbr/src/render/pbr_functions.wgsl index 31774d2ae7..dec30c41a4 100644 --- a/crates/bevy_pbr/src/render/pbr_functions.wgsl +++ b/crates/bevy_pbr/src/render/pbr_functions.wgsl @@ -1,8 +1,5 @@ #define_import_path bevy_pbr::pbr_functions - -#ifdef TONEMAP_IN_SHADER #import bevy_core_pipeline::tonemapping -#endif #ifdef ENVIRONMENT_MAP #import bevy_pbr::environment_map