Skip to main content
Up and Coming
April 14, 2015

Baked Lighting Issue on different computers.

Hey,
When I zip up and copy my files for my complete game and take them to another computer and headset to test with. all of my lighting and normal maps in any levels that use baked lighting are missing. The game runs fine though.. just looks bad.

I copy the Data folder as well as the normal and direct to rift launch files. And all is good, runs smooth, but I think the lighting data is missing and needs to be copied also. Problem is I can't seem to find those files and I imagined they would be included in the data folder.
Thanks for any help.
    This topic has been closed for replies.

    5 replies

    Up and Coming
    April 16, 2015
    If it helps, here is a visual example of the issue. Everything on the left side, working as intended.
    Right side any other computer and DK2 I take my build to. I have narrowed this down to baked lightmaps in Unity only because levels further into the game demo that don't use baked lighting look correct. BTW I am using lightmaps to keep the framerate over 75, and making a layered lighting setup for only dynamic actors.. seems to make a huge difference in framerate. What I don't understand is why it looks correct only on my home PC, even though I copy the complete data folder for the level etc. I was wondering why my friends helping me test were saying how dark it was and how it looked better towards the end:).Demo is finished, just waiting to fix up this issue. Thanks

    j.j. morris - tekrok - https://share.oculus.com/app/tekrok
    Inspiring
    April 16, 2015
    Depending on how your shaders are written, they may not work on your home PC. Unity could be using fallbacks as described here http://docs.unity3d.com/Manual/SL-Fallback.html. What shaders are you using? Can you send the log from each machine?
    Up and Coming
    April 17, 2015
    Hey thank you, I am using a standard unity shader, Bumped Specular, in unity 4.6.1f1

    I can send the log file, just to be sure I send the right thing, what is the name of the log I am looking for and do you mean from unity log or oculus etc.
    j.j. morris - tekrok - https://share.oculus.com/app/tekrok
    Inspiring
    April 17, 2015
    The log is called "output_log.txt" and is in the same folder as the game exe file.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    April 17, 2015
    Awesome, thank you, I will get those and send through.
    j.j. morris - tekrok - https://share.oculus.com/app/tekrok