Well, just discovered something amazing. Lightmaps still work with normal maps in unity free.
That is going to make my scenes look amazing :O!
Well, just discovered something amazing. Lightmaps still work with normal maps in unity free.
That is going to make my scenes look amazing :O!
They do? How? They never worked for me in Free?
You need two lighting setups: Your lightmapping lights, and realtime lights. First, you use the lightmapping lights to bake to the scene. Then you deactivate all of them.
You then set up your realtime lights- and put a new, but faint directional light in to cover just your level meshes. Make sure itâs realtime only, pixel light. ET VOILA! You have specular and normal maps back!
I never realised that adding more realtime lights would work, but hey, it does! And itâs AWESOME. So lightmap away!
Wow. Iâm about to try that! What are good settings for the faint light?
Not sure really- not so much that it effects the overall lighting, but just enough so you can see the bump maps.
But then that doubles the amount of Draw Calls?
Surely not, if itâs then only being lit in realtime by one light? I may be a little mixed- looks good though.
Well. I have to have both set to realtime or else the objects are dark and not lit. Maybe Iâm not doing it right?
Youâre not doing it right. You need to lightmap the scene the same way you would lightmap any scene- lots of lights, directional, point etc all with âBaked onlyâ selected. That should all be baked in. You then put one single directional light that is realtime only over the level. Shouldnât be dark at all.
Here are some pictures to prove the point. The first, just lightmaps.
The second with the only realtime light in the scene turned on :
As you can see, bump and specular effects work again.
Oh, but the problem with that is. Some of my objects arenât baked with the light mapping since they move.
You can use culling masks to fix that, if I understand the problem correctly.
Well yeah, but those arenât going to be affected by the lightmap lights, are they?
wow it works perfectly, than you
But thereâs no cast shadows in basic which makes it kinda pointless⌠Is there anyway to import light maps from an external program like blender?
You can cast shadows, you just have to go activate the lightmapping from the menu. I forget exactly whatâs itâs called.
Holy cow! Thanks, I wish I knew this last yearâŚ