x


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.

more ▼

asked Nov 30, 2010 at 11:00 AM

Christoff gravatar image

Christoff
102 53 38 46

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

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. :)

more ▼

answered Dec 01, 2010 at 02:23 PM

motionblur gravatar image

motionblur
151 3 2 11

(comments are locked)
10|3000 characters needed characters left

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?

more ▼

answered Nov 30, 2010 at 11:26 AM

Yoerick gravatar image

Yoerick
849 4 8 19

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.

Nov 30, 2010 at 11:52 AM Christoff

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 :)

Nov 30, 2010 at 03:14 PM Yoerick

"I don't think it's possible to bake textures in Unity."

So what is Lightmapping then?

Jan 03, 2011 at 04:07 PM pauldstewart

Yoerick, you can bake directly in unity now. See motionblur answer.

Jul 05, 2011 at 10:04 PM tiagomelobr

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.

Jul 05, 2011 at 10:21 PM testure
(comments are locked)
10|3000 characters needed characters left

This is one awesome answer! thx! Baking lights makes everything WAY more beautiful!

more ▼

answered Mar 30, 2011 at 12:20 PM

Jot gravatar image

Jot
41 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x290
x116
x26

asked: Nov 30, 2010 at 11:00 AM

Seen: 19420 times

Last Updated: Jul 05, 2011 at 10:21 PM