Home Unity

[UNITY] How do I import lightmaps and lights?

polycounter lvl 11
Offline / Send Message
CognizanCe polycounter lvl 11
I created a scene, and have to export it to an external HDD for others.
The assets and materials remain when I export as a package, but not the lights and lightmaps.

How to I exports the lights as a seperate file?
How do I import a lightmap to a scene and apply it?
Exything I've found so far only talks about generating them.
Not importing, exporting etc.

Thanks in advance.

Replies

  • CognizanCe
    Offline / Send Message
    CognizanCe polycounter lvl 11
  • passerby
    Offline / Send Message
    passerby polycounter lvl 12
    Find your scene in the content browser, right click, hit export pacakge.

    Unity will figure out what assets need to be included with your scene and export a .unitypackage

    or you could just grab the lightmaps by hand since they are normally stored in a folder beside your scene, with the same name as your scene. Which contains a bunch of .exr files
  • CognizanCe
    Offline / Send Message
    CognizanCe polycounter lvl 11
    passerby wrote: »
    Find your scene in the content browser, right click, hit export pacakge.

    Unity will figure out what assets need to be included with your scene and export a .unitypackage

    or you could just grab the lightmaps by hand since they are normally stored in a folder beside your scene, with the same name as your scene. Which contains a bunch of .exr files


    Thanks for the reply.
    I tried exporting the package a few times and it didn't work.
    Like I said, I only got the models and textures.

    I figured it out by selecting the scene file in the asset browser tab, right clicking, then selecting "select dependencies".
    THEN ctrl click the scene file to include it in the package(with all the lights in place, light maps etc.)
Sign In or Register to comment.