Search Unity

Mobile/Unlit (Supports Lightmaps) + Normal map

Discussion in 'Editor & General Support' started by allenwp, Jul 3, 2014.

  1. allenwp

    allenwp

    Joined:
    Sep 4, 2013
    Posts:
    46
    Hey, I'd like to use the Mobile/Unlit (Supports Lightmaps) shader to help improve performance with lightmapping on my mobile game. I would like lightmapping to respect the normal map of the material, but there is no normal map property on this shader.

    If I bake the lightmaps with the Bumped Diffuse shader, then afterwards change it to Mobile/Unlit (Supports Lightmaps) I can retain the normal map information in the lightmap data, but this process is obviously error prone (but I guess I can automate it without too much headache). Is there a version of the Mobile/Unlit (Supports Lightmaps) shader that passes normal map data to Beast?

    Thanks!
    Allen