Search Unity

Phone camera Image rotation

Discussion in 'AR' started by asa989, Mar 28, 2020.

  1. asa989

    asa989

    Joined:
    Dec 18, 2015
    Posts:
    52
    Hi all,

    when you rotate your phone, the background image stays steady. meaning that it wont rotate. But, if you use the image coming from TestCameraImage.cs then the image will be stretched when you rotate the camera. I looked at the ARBackground shader for URP and I tried to make it in shadergraph for my use case. but unfortunately I wasnt able to figure it out.

    Does anyone know how I can do it?

    Cheers