reedv / 3D-Holo-Golf

Augmented reality beer pong with the Microsoft Hololens
0 stars 1 forks source link

No lighting in PlayAndPass scene #26

Closed reedv closed 7 years ago

reedv commented 7 years ago

Unlike in StartingMenu and InitialTossing scenes, there seems to be no ambient lighting in the PlayAndPass scene. Thus, all of the objects in that that scene appear black, even if I copy/paste objects from InitialTossing into PlayAndPass, they appear black. It's like ambient lighting is not working in that scene.

I blame ambient lighting based on what I am seeing and how closely it corresponds to these articles: https://unity3d.com/learn/tutorials/topics/graphics/ambient-lighting http://answers.unity3d.com/questions/1080517/ambient-light-working-in-some-scenes-and-not-other.html

reedv commented 7 years ago

Fixed: This is a hack, but:

  1. Selected a scene that had working ambient light (ie. StartingMenu or InitialTossing)
  2. Duplicate scene with Edit->Duplicate
  3. Delete everything in that duplicate scene
  4. Copy/paste everything in the 'broken ambient light' scene into this now scene
  5. Use this new scene now instead of the 'broken' original