summaryrefslogtreecommitdiffstats
path: root/src/multimedia/shaders/uniformbuffer.glsl
blob: c74859c5d135f94707805b8e3cccf1ccaf19a23f (plain)
1
2
3
4
5
6
7
8
9
10
11
// Make sure to also modify externalsampler_gles.frag when modifying this

layout(std140, binding = 0) uniform buf {
    mat4 matrix;
    mat4 colorMatrix;
    float opacity;
    float width;
    // HDR metadata required for tonemapping
    float masteringWhite; // in PQ or HLG values
    float maxLum; // in PQ or HLG values
} ubuf;