Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Ambient occlusion for mobile?

Discussion in 'Shaders' started by eco_bach, Mar 4, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Hi, is anyone aware of any scripts or shaders for ambient occlusion type effects on high end mobile devices?
     
  2. SubPixelPerfect

    SubPixelPerfect

    Joined:
    Oct 14, 2015
    Posts:
    224
  3. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Was looking for something not post camera related
     
  4. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
    There are plenty of tools for baking ambient occlusion into textures or vertices, both external and within Unity. Otherwise it likely has to be a post process effect. If you're using voxels you can use that data to create fake ao at runtime.
     
  5. larrydevs

    larrydevs

    Joined:
    Jun 7, 2015
    Posts:
    5
    Could you point me to any resources related to faking the AO for voxels?
     
  6. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
  7. larrydevs

    larrydevs

    Joined:
    Jun 7, 2015
    Posts:
    5
    Awesome, thanks!