Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. 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

Compute shaders and SSR on Android Vulkan

Discussion in 'General Graphics' started by atomicjoe, Jan 7, 2019.

  1. atomicjoe

    atomicjoe

    Joined:
    Apr 10, 2013
    Posts:
    994
    Hi there!
    I recently switched my android Vulkan project from Forward rendering to Deferred.
    I thought I could use Screen Space Reflections now, but when I enable SSR in the PostProcess Stack V2, a warning appears telling me "This effect requires compute shader support".
    The screen space reflections aren't appearing in editor nor in build.
    The same happens with the Auto Exposure effect: warns me it needs Compute Shaders and doesn't work.

    And that's weird because as stated here in the manual, Android Vulkan and OpenGLES 3.1 support compute shaders perfectly!

    So, what's happening? Nobody noticed this?

    note:
    Please refrain on answers questioning why I would want to use this features on Android or telling me it's a terrible idea: It's supposed to be available and I just want this to work. Thanks :)
     
    Salvador-Romero likes this.
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,892
    Best file a bug report, see what Unity replies with.
     
    Salvador-Romero likes this.
  3. Zypo

    Zypo

    Joined:
    Jun 7, 2015
    Posts:
    3
    @atomicjoe, did you find anything about this concern?

    I'm running into the very same with 2019.2.20 and Adreno 530, when activating SSR, it just appears as what seems like flickering fractions of some kind of reflections (maybe), whereas with OpenGL ES 3, it even just shows a black screen.
     
    Last edited: Mar 1, 2020
    Salvador-Romero likes this.
  4. atomicjoe

    atomicjoe

    Joined:
    Apr 10, 2013
    Posts:
    994
    Unity closed this bug report with a very comprehensive "will not fix", and given they abandoned the built-in render pipeline in favor of the new scriptable render pipeline some time ago, don't expect it to ever be fixed.
    There are some SSR that work on mobile in the asset store, notably this one:
    https://assetstore.unity.com/packag...-reflections-ssr-for-mobile-80272#description
     
    Salvador-Romero and hippocoder like this.
  5. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,892
    SSR is still expensive on mobile, would suggest simple plane reflection.
     
  6. Salvador-Romero

    Salvador-Romero

    Joined:
    Jan 21, 2014
    Posts:
    50
    Could you please share a link to the bug report?
    I'm currently facing the same problems with auto-exposure, and would like to know what you sent to them.
    Thanks!
     
  7. atomicjoe

    atomicjoe

    Joined:
    Apr 10, 2013
    Posts:
    994
    Salvador-Romero likes this.
unityunity