Search Unity

Lightmaps

Discussion in 'Web' started by topofsteel, Apr 17, 2015.

  1. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    I only seem to be able to get one build/publish out of a scene. Every other publish doesn't include the lightmap. What's the secret here? What am I missing?
     
  2. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    On further research, I see that Directional Specular lightmaps aren't supported yet. However, like I said, I get one publish out of them. The link below is to my first build test, it uses Directional lightmaps. Unfortunately, there is nothing particularly specular about it.
     
    Last edited: Apr 18, 2015
  3. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    There is a bug in Unity right now which results in Directional lightmaps not being supported in WebGL. You need to use non-directional lightmaps. "Directional Specular" not working is expected and you will get a warning about this, but "Directional" should work, but does not - this is a bug, and our lightmapping team is investigating.