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

Merge pull request #50883 from BastiaanOlij/mobile_hdr

Scale color output in the mobile renderer to provide HDR support
This commit is contained in:
Bastiaan Olij
2021-08-26 11:23:22 +10:00
committed by GitHub
18 changed files with 94 additions and 50 deletions

View File

@@ -374,6 +374,9 @@ layout(constant_id = 9) const uint sc_directional_penumbra_shadow_samples = 4;
layout(constant_id = 10) const bool sc_decal_use_mipmaps = true;
layout(constant_id = 11) const bool sc_projector_use_mipmaps = true;
// not used in clustered renderer but we share some code with the mobile renderer that requires this.
const float sc_luminance_multiplier = 1.0;
#include "scene_forward_clustered_inc.glsl"
/* Varyings */