Skip to content
  • Vlad Zahorodnii's avatar
    effects/blur: Make shader code readable · c7ba0a25
    Vlad Zahorodnii authored
    At the moment, blur shader code is barely readable because the code is
    constructed at runtime.
    
    Since ShaderManager handles opengl context profiles when loading shaders
    from files, we can improve code readability by splitting shader code in
    the corresponding files.
    
    Note that ShaderManager adds "precision highp float;" for convenience
    (whether using "highp" is okay is up for debate).
    c7ba0a25