Search Unity

  1. Unity 2019.4 has been released.
    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
  3. 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

ARCameraBackground with custom material - does it work yet?

Discussion in 'Handheld AR' started by Thomas-Mountainborn, Jun 24, 2020.

  1. Thomas-Mountainborn


    Jun 11, 2015
    I've found several old threads of people only getting a black screen when trying to get a custom material to work for the ARCameraBackground. I'm in the same boat. Is there a sample shader we have to base ourselves on perhaps?
  2. KirillKuzyk


    Nov 4, 2013
    Yes, custom background material works in AR Foundation as expected.
    Depending on your target platform, you can make a copy of ARKitBackground.shader or ARCoreBackground.shader and write your own shader based on that.
    todds_unity likes this.