1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;