blur_raster_inc.glsl 653 B

1234567891011121314151617181920212223242526
  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, std430) uniform Blur {
  5. vec2 pixel_size; // 08 - 08
  6. uint flags; // 04 - 12
  7. uint pad; // 04 - 16
  8. // Glow.
  9. float glow_strength; // 04 - 20
  10. float glow_bloom; // 04 - 24
  11. float glow_hdr_threshold; // 04 - 28
  12. float glow_hdr_scale; // 04 - 32
  13. float glow_exposure; // 04 - 36
  14. float glow_white; // 04 - 40
  15. float glow_luminance_cap; // 04 - 44
  16. float glow_auto_exposure_scale; // 04 - 48
  17. float luminance_multiplier; // 04 - 52
  18. float res1; // 04 - 56
  19. float res2; // 04 - 60
  20. float res3; // 04 - 64
  21. }
  22. blur;