When creating a lightmap in Unity 3 the normal mapping goes away. I've provided two images, one with lightmapping turned on and the other with it off. The image with lightmapping turned off shows the sun reflecting off the ground and the specular highlights on the ground and two models.
The ground and tall cube are just a Unity Plane and cube. I created a checker pattern and let Unity create normal maps from it. I then created a material and set the shader to Bump Specular and set the two textures (diffuse and normal) for it.
Everything was looking really good up until I generated a lightmap.
The crate is an FBX with custom normal map. Its material was also Bump Specular.
I tweaked parameters for the lightmapper but I could never get the normal mapping to show back up. So how can I get the shadows along with normal mapping? Caution: Unity newbie here, so if the solution is simple please be easy on me. Notice that I do get the shadows in the bottom shadow mapped image but the sun (directional) light and normal mapping disappear.



Reply With Quote
