Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question How to apply color correction for AR background?

Discussion in 'AR' started by novaVision, Apr 26, 2022.

  1. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    421
    What is the way to show AR background darker then it is actually? I tried to apply custom material in ARCameraBackground component, but this doesn't work in URP.
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    2,043
    Post Processing?
     
  3. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    421
    Well, this could work if I apply it only to that background layer, but... As I know there is no such option
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    2,043
    I'm not sure of 2 cameras work.
    1 for AR and 1 for 3d objects. Otherwise you have to manage the render process of the background partially yourself
     
  5. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    421
    I think the easiest way would be to use ARCameraBackground.customMaterial, but, by some reason the ARCoreBackground and ARKitBackground shaders I found in Librabry are pink and seems not compatible with URP