- Home /
How do you use Unity 3D light baking?
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.
Thanks.
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 $$anonymous$$ax, and oh ok .. so i have to find a tutorial on how to bake in 3DS $$anonymous$$ax then not UNITY 3D?
How do i then implement this into UNITY, thanks.
That's right, you have to bake it in 3Ds $$anonymous$$ax, 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!
Your answer
Follow this Question
Related Questions
Lightmap uv's are stacked after running Mesh.CombineMeshes 1 Answer
Unity bake problem 0 Answers
What does "LOD Surface Distance" specifically do? 1 Answer
Lightmapping takes long time 1 Answer