From: Mikko Rasa Date: Fri, 12 Nov 2021 19:55:43 +0000 (+0200) Subject: Move the bloom shader's delta uniform into a block X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=dfcad2edfd319ae1e6e0af53a4701ac3447e9450;p=libs%2Fgl.git Move the bloom shader's delta uniform into a block --- diff --git a/builtin_data/_bloom.glsl b/builtin_data/_bloom.glsl index fe3dd6e4..f261cc1d 100644 --- a/builtin_data/_bloom.glsl +++ b/builtin_data/_bloom.glsl @@ -1,9 +1,12 @@ uniform sampler2D source; uniform sampler2D blurred; -uniform vec2 delta; uniform BloomParams { float factors[19]; int size; float strength; }; +uniform BloomPerPassParams +{ + uniform vec2 delta; +};