Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

[SOLVED] Dark speckle pattern in baked lightmap!

Discussion in 'Unity 5 Pre-order Beta' started by Claytonious, Feb 18, 2015.

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    Baking is creating a pattern of dark speckles on the lit model. I narrowed this down with a nearly empty repro project with all default settings and nothing but a single building in it. The "spots" are highlighted in red in the image below (they are NOT there in the texture of the building, of course - this is after a bake):


    Here are the light settings for the only directional light in the scene (also tried with the light being static, no difference):

    And here are the Enlighten settings (also tried with compressed turned off):


    Already filed a bug report with repro project attached but still waiting for case #. EDIT: Case # 673434.

    Any ideas what could be wrong? I'm trying to make this the simplest possible case for lighting this building!

    Thanks.
     
  2. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    Ahhhhh, the model did NOT have "Generate Lightmap UVs" checked in its import settings. This fixed the issue!

    Though, it's curious that Enlighten tried anyway and spewed garbage onto the model instead of just not lightmapping it. Anyway, makes sense that it needs this checked in order to be lit properly!