Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Static Background for Body Tracking Example

Discussion in 'Unity MARS' started by macgregger, May 17, 2023.

  1. macgregger

    macgregger

    Joined:
    Feb 13, 2018
    Posts:
    28
    Hello there,

    I am trying to create a background image for my body tracking scene, but I am not sure how to set it up.

    The image should fill the whole background, so that only the tracked body and the 3D Objects on the body are visible.

    Does anybody know how to set this up?
     
    Last edited: May 17, 2023
  2. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    I think there's various ways to do this but one I've done in the past is to have a textured quad as a child under the camera. Since different devices have different display geometries you need to do some work to figure out the correct dimensions though. And make sure it's either behind your foreground geometry or sort your rendering so it renders first.