1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-06 01:40:21 +02:00

Make bloom shaders compatible with GLES2 (#12834)

Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
This commit is contained in:
x2048
2022-10-04 14:52:56 +02:00
committed by GitHub
parent 7632af3c73
commit 579fc93c24
4 changed files with 13 additions and 13 deletions

View File

@ -1,8 +1,8 @@
#define rendered texture0
uniform sampler2D rendered;
uniform mediump float exposureFactor = 2.5;
uniform float bloomLuminanceThreshold = 1.0;
uniform mediump float exposureFactor;
uniform float bloomLuminanceThreshold;
#ifdef GL_ES
varying mediump vec2 varTexCoord;