where is Unity's shader handeling lightmapping?

Hi all,

I noticed that after I baked a lightmap with Beast within the Unity Editor, my standard Diffuse shader must use a different shader to display the lightmap.

So my question is: Where do find this shader so I can customize how the lightmap is calculated. Or is there a built-in function that is handleing the lightmap data? Again, where could I find it? Do I have to change and overwrite the legacy’s shader (Lightmapped Diffuse)?

Thank you for your help,

0tacun

Unity provides several built-in lightmapping shaders.

If those don’t work, and/or you’re going as far as creating your own lightmaps, it’s not terribly difficult to incorporate lightmaps into them. It can be as simple as an extra multiply between your own color and the lightmap texture.