Search Unity

Problem with " Positional Tracker " :(

Discussion in 'Vuforia' started by Amin-, Sep 18, 2018.

  1. Amin-

    Amin-

    Joined:
    Sep 27, 2017
    Posts:
    26
    hi ...
    actually, " Positional Tracker " is an awesome feature for " image target " mode BUT ...

    but I don't know why this happened really! :(
    a bug ?! or my fault?

    comparison.jpg

    In some angles , the walls become dark !
     
  2. henriqueranj

    henriqueranj

    Joined:
    Feb 18, 2016
    Posts:
    177
    Hi @Amin-

    This is due to how you have your directional light setup and how your AR target is moving in the Unity Scene. I suggest that you try and inspect in the Editor mode how your AR objects are moving relative to each other and how they are affected by the camera perspective and directional light.

    What is happening is that:
    - with "First target" mode your AR Camera is the one that moves around the AR target.
    - with "Positional Tracker" your AR target moves around the camera.

    Tip: If you really want to use Position Tracker you can try to make your Directional Light as a child of the AR Camera so it always keeps the light angle that you want.
     
    Amin- likes this.
  3. Amin-

    Amin-

    Joined:
    Sep 27, 2017
    Posts:
    26
    Hi @henriqueranj ...
    Thank you for your reply :)
    My scene is " baked " and making Directional Light as a child of the AR Camera won't work !


    Actually , I found a solution after some tests
    that's it :
    1.jpg

    unfortunately , in this method, you didn't have transparent material anymore ! o_O