Search Unity

Question About Custom Pass Blur

Discussion in 'High Definition Render Pipeline' started by seoyeon222222, May 30, 2023.

  1. seoyeon222222

    seoyeon222222

    Joined:
    Nov 18, 2020
    Posts:
    186
    upload_2023-5-31_5-41-41.png

    This is UI Blur in the custom pass example.
    use CustomPassUtils.GaussianBlur.


    This is an image made using Photoshop Filter - Gaussian Blur.
    I don't know the exact name,
    It's also called like Frost Glass Effect

    upload_2023-5-31_5-44-30.png


    Of course,
    i can create a similar feeling by increasing Radius and sample count of the custom pass Gaussian Blur
    upload_2023-5-31_5-48-6.png
    But there is two problems.

    Q1) The bright areas are too emphasized.
    Unlike other programs(Photoshop, After Effect, or etc) Blur filter,
    contrast is very strong, and the bright part shines so intensely.

    Q2) Performance is so expensive

    I can also able to produce good results using this two method
    - Using HDRP Unlit Shader's Distortion Blur
    - Using Shader Graph Full Screen Pass HD Scene Color LOD
    However, these two methods were not available in the Custom Pass After Process UI.
    (Is there any way?)

    I also changed the downsampling, but it didn't seem to solve the problem.

    To sum up my requirements
    1. Blur should also be applied to objects that are injected into the After Post Process
    2. Blur that blends well so that it doesn't stand out too much should be operated with meaningful performance