Search Unity

strange happenings with fog and spotlight (Quest)

Discussion in 'AR/VR (XR) Discussion' started by Yonderboy, Aug 25, 2020.

  1. Yonderboy

    Yonderboy

    Joined:
    Nov 19, 2014
    Posts:
    102
    Hi

    Im getting an odd issue on Oculus Quest - the ground plane of some scenes are only taking on light (from a head mounted spotlight) in the middle of the scene only - anywhere else its appearing black. Its a mystery because it all worked perfectly until recently. It still looks fine when viewed in editor and on Rift though.
    Im baking lights and have only 1 realtime spotlight in the scene.

    We're using Exponential squared fog and have also got the custom fog exports set in the GraphicsSettings to allow for this.


    i havent got the foggiest (sorry) idea why this is. Would any body have any ideas?

    many thanks
    Nick
     
  2. Yonderboy

    Yonderboy

    Joined:
    Nov 19, 2014
    Posts:
    102
    here's an image to help illustrate... its just the floor plane thats doing it, when i look away from centre it goes black. When i look to where im stood - the light takes effect!

    If i turn fog off - the light works fine. But it used to work fine with fog, so i dont know whats changed to make it do this :-/
     

    Attached Files:

    • pic.png
      pic.png
      File size:
      90.8 KB
      Views:
      316
    Last edited: Aug 26, 2020