Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Grabpass vs HDR performance on Mobile

Discussion in 'Shaders' started by Mehrdad995, May 22, 2020.

  1. Mehrdad995

    Mehrdad995

    Joined:
    Jul 17, 2013
    Posts:
    30
    Greetings,
    I'm using an overlay decal to brighten parts of the ground,
    as LDR clamps values in a [0-1] range I can't do such thing with shader blending (DstColor/Zero)
    So the only two workarounds I found were to either enable HDR or use a Grabpass in my shader to overcome this limit.
    I'm already using post-processing, with that keeping in mind, is using R11G11B10 HDR heavier or using a Grab-Pass (post-processing is already using grab-pass, can I re-use the grabbed data)???
    none of the above had a noticeable impact on the devices I tested but I'm concerned as some devices may have issues!
    Can someone please briefly describes with one is better?
    Thanks a lot.
     
unityunity