Search Unity

Mobile Friendly Glow

Discussion in 'General Graphics' started by unity_rzQSwUvJF1UZXQ, Feb 15, 2021.

  1. unity_rzQSwUvJF1UZXQ

    unity_rzQSwUvJF1UZXQ

    Joined:
    Oct 28, 2020
    Posts:
    10
    Hi! I am working on a small mobile project and i am having difficulties finding a performant way to implement glow on my game.
    As a reference, i am trying to reach this kind of glow:
    https://www.youtube.com/watch?v=u8FyaeVBDlI

    Taking advantage of this thread, I also wanted to ask you how you recommend implementing that motion blur you see on that trailer. I always solve this problems with post processing stack or URP for PC games but using that is not an option for mobile.

    Thanks for reading!
     
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    post processing stack is not good for mobiles
    So you should use asset store glow effects for mobiles
     
  3. unity_rzQSwUvJF1UZXQ

    unity_rzQSwUvJF1UZXQ

    Joined:
    Oct 28, 2020
    Posts:
    10
    Great! Do you have any recommended one? It would be great if it is free.
    Thanks!
     
  4. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Ay26 and unity_rzQSwUvJF1UZXQ like this.
  5. unity_0B4D78500DE0ACD767CF

    unity_0B4D78500DE0ACD767CF

    Joined:
    Aug 4, 2022
    Posts:
    2
    Thanks for sharing this I found Fast Bloom Easy to implement and I'm using it in Vuforia AR APK and it's working perfectly fine.
     
  6. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    I’ve tried installing it but can’t seem to get it working, what did you do?
     
  7. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    In the new devices since 2019 the new bloom effect works well (default bloom) without performance drop even in HDR mode
     
  8. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    I’m confused. That’s the one using and on my mobile game I get below 20fps. The performance drops horribly even at when it might get to 30 the frames are all choppy due to it.
     
  9. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    The only solution to have very good fps on mobile devices is limiting the screen resolution to the 720P or 1080P

    Use this tool

    Read more here
     
  10. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    Without bloom I get constant 60 on an old s10 but with bloom I get 20. I’m looking for a way to get some sort of glow. Even at 30 fps
     
  11. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Try my apk and turn on off the bloom effect to see the performance cost:
    I have used HDR bloom in the urp in this demo apk

    Download Android apk
     
  12. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    Turned everything on and got 60
     
    Last edited: Jan 20, 2024
  13. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    I'm getting 60FPS with bloom with your app mainly due to the fact that nothing else is happening in the scene. Im using the same set up for bloom in my game but thats when the frame drops
     
  14. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    I think the only solution is reducing the screen resolution because the post effects run on the screen pixels
     
  15. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,791
    You can have your main frame buffer at full res and then make a few much smaller ones for bloom then compose at the end.

    The best approach to bloom I've seen is this https://github.com/KumoKairo/Sleek-Render but I don't know how easily it can be used these days.
     
  16. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    Is that just in the settings of project setting tab?
     
  17. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Download the below APK and choose the screens resolution:

    Medium = Screen Resolution x 0.5
    High = Screen Resolution x 0.7
    Native = Screen Resolution x 1

    Also you can turn On or Off the bloom effect by touching the center of the screen

    Download Android APK


    image_224_0000.jpg
     
  18. GoldenG0053

    GoldenG0053

    Joined:
    Sep 25, 2022
    Posts:
    7
    I tried it and get constant 30 on all three settings, could you share your bloom or setting for how you got it to work?

    To be more specific my bloom is adding glow to individual objects, and when ever I enable bloom it just tanks my frame rate.
     
    Last edited: Jan 28, 2024
  19. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    My project is a URP project with the maximum settings (HDR bloom, HDR color grading, vignette)
    The lighting s fully baked