Hi does anyone have a link to a tutorial on baking light's in UNITY 3D, sorry I have never used light map baking etc and am new to this. I have had a look around on unity answers but couldn't find what i was looking for.
if anyone could help im sure it would benefit a lot of other newbies such as myself.
Answer by motionblur
Dec 01, 2010 at 02:23 PM
It IS possible to bake Lightmaps within Unity3D now. The Tech is called Best and is the same one used in commercial titles like Mirror's Edge.
Here's the quickstart on how to do it: http://unity3d.com/support/documentation/Manual/Lightmapping.html
And here's the more in-depth reference: http://unity3d.com/support/documentation/Components/class-LightMapping.html
You still can bake your Lightmaps from within your 3D application if you want to. But that's only needed if you need a specific renderer (like for example VRay) for your project. In that case make sure to render your textures out to an EXR file.
Also note that Unity can now create the secondary Lightmap UV Set for you. Just click "generate lightmapping coordinates" on the import settings if you did not provide the 2nd UV Set yourself. :)
Answer by Yoerick
Nov 30, 2010 at 11:26 AM
I don't think it's possible to bake textures in Unity. You should do this in your 3D modelling program (like Cinema 4D, 3DS Max, Maya, Blender, ...)
What modelling program are you using?
Im using 3Ds Max, and oh ok .. so i have to find a tutorial on how to bake in 3DS Max then not UNITY 3D?
How do i then implement this into UNITY, thanks.
That's right, you have to bake it in 3Ds Max, this will create a texture, saved as a .tiff or .jpg. The only thing you need to do then is apply that texture on your object again in Unity ;) You export your model as an FBX format (for example) and import that in Unity, then you simply drag your baked texture in your assets and then on the object and you're done :)
"I don't think it's possible to bake textures in Unity."
So what is Lightmapping then?
Yoerick, you can bake directly in unity now. See motionblur answer.
tagomelobr: It's been over half a year since he posted that, and hasn't posted anything since. I'm pretty sure he's moved on by now.
Don't necro old questions with irrelevant comments.
Answer by Jot
Mar 30, 2011 at 12:20 PM
This is one awesome answer! thx! Baking lights makes everything WAY more beautiful!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
2 People are following this question.
Lightmap uv's are stacked after running Mesh.CombineMeshes
Losing ambient light after bake
Creating Mood and 'Atmosphere' with lighting in Unity?
Lightmapping takes long time
Lightmapping produces strange results