blur_raster_inc.glsl 431 B

123456789101112131415161718192021
  1. #define FLAG_HORIZONTAL (1 << 0)
  2. #define FLAG_USE_ORTHOGONAL_PROJECTION (1 << 1)
  3. #define FLAG_GLOW_FIRST_PASS (1 << 2)
  4. layout(push_constant, binding = 1, std430) uniform Blur {
  5. vec2 pixel_size;
  6. uint flags;
  7. uint pad;
  8. // Glow.
  9. float glow_strength;
  10. float glow_bloom;
  11. float glow_hdr_threshold;
  12. float glow_hdr_scale;
  13. float glow_exposure;
  14. float glow_white;
  15. float glow_luminance_cap;
  16. float glow_auto_exposure_grey;
  17. }
  18. blur;