Learn Baking in Blender

Exclusive offer: get 50% off this eBook here
Blender 3D 2.49 Incredible Machines

Blender 3D 2.49 Incredible Machines — Save 50%

Modeling, rendering, and animating realistic machines with Blender 3D

$26.99    $13.50
by Jonathan Williamson | December 2009 | Open Source Web Development Web Graphics & Video

In this article by Jonathan Williamson, we will discuss about baking in blender. This article will cover all the essentials required to get started with baking in blender. We will discuss about the various types of baking and their uses which includes full render, ambient occlusion, shadow baking, normals, textures and also displacement.

Getting Started

Baking in Blender allows you to transfer different aspects of your rendered scene/model to a 2D planar projection, or UV map. This is primarily used for creating Normal Maps but can also be a very helpful aide in texturing, render time optimization, etc.

Before we dive into the specifics, let me give you a quick crash course in baking.

Blender 3D 2.49 Incredible Machines

In order to bake out the necessary maps, the three requirements are that you have at least one mesh, that the UVs of that mesh have been unwrapped and that you have applied an image to the UVs of that mesh. Beyond this, it all depends on what you are doing. To bake out an object:

  • Select all vertices of the default cube (or any object of your choice) in Edit Mode, press U > Unwrap (smart projections) > OK
  • Switch your viewport to the UV/Image Editor, select all UVs with A, add a new image by going to Image > New > OK
  • Under the Render properties, in the Bake panel click Bake.
  • If all is correct, you should now see the results of the Full Render bake in the UV/Image Editor.

You should see something like this:

Blender 3D 2.49 Incredible Machines

With the default Blender settings, you will get this result. As you can see Blender is baking out all of the lighting details of our default cube and saving it to the UV mapped image.

These few steps are all it takes for most baking purposes.

This is the basics of baking. Of course we did not yet bother to adjust anything or to select the method of baking needed, and so the results are quite useless. However, if you were to adjust the lighting to fit a specific purpose, as demonstrated further in this tutorial, you would see very different results. Let us now examine each of the different kinds of bakes and how to use them.

Full Render

Baking the Full Render enables you to bake out everything you see at render time, this includes lighting, materials, textures, and ambient occlusion. When used correctly this can be very helpful for transferring procedural materials to a 2D color map or for baking in the lighting details of textures to be used in ultra lowpoly games that do not offer dynamic lighting.

Here is an example of procedural materials that have been baked out to our cube using the default lighting setup:

Blender 3D 2.49 Incredible Machines

Here is the same cube and same material with a basic 3-point lighting setup:

Blender 3D 2.49 Incredible Machines

Ambient Occlusion

This baking method is very useful as an aide in the texturing process. When texturing, particularly for lowpoly models, creating realistic shading from light can be quite difficult. Using Ambient Occlusion baking can ease this process by giving you a plane, shaded map of your object in 2D. This is best demonstrated with an image as seen below:

Here is our same cube and same material with ambient occlusion:

Blender 3D 2.49 Incredible Machines

As you can see it is plain grey, this is due to our cube having no variation in the surface and thus nothing to affect the lightness and shadows.

Here is a modified cube with surface variation:

Blender 3D 2.49 Incredible Machines

 

Blender 3D 2.49 Incredible Machines

Due to the modified surface I have also re-unwrapped the UVs using Smart Projections.

Blender 3D 2.49 Incredible Machines Modeling, rendering, and animating realistic machines with Blender 3D
Published: November 2009
eBook Price: $26.99
Book Price: $44.99
See more
Select your format and quantity:

Shadow

Shadow baking is also helpful for lowpoly game models as it allows you to apply all of the shadows to your textures for static shadows.

Using the same cube from above with surface variation, here is my result:

Blender 3D 2.49 Incredible Machines

A good way to use this is to overlay it over your texture maps using blending modes. This is nothing more than an alpha map of sorts.

Normals

Possibly the most widely used baking option, the Normals allows you to create normal maps for low poly models from a high resolution version. This is done by used the Selected to Active option, which will cause Blender to bake the normals from the secondary selection to the primary selection in your viewport.

Using the two cubes again, here is what you get, baking the normals from the surface variation cube to the default cube:

Blender 3D 2.49 Incredible Machines

As you can see, it also bakes out the normals from any bump maps you have added to your material (in this case I have a slight Nor value applied to my Marble texture).

You will also notice that you can change the space for normal baking. By default this is set to “Camera,” but in most cases you will use either “Object” or “Tangent.”

Textures

This baking mode is used to transfer all texture channels details to your UV map. Texture baking ignores all lighting and other variables and bakes out strictly the texture details. This one is about as simple as it gets.

Here you can see the result of the surface variety cube with the textures baked:

Blender 3D 2.49 Incredible Machines

Displacement

Next to Normals, Displacement might be the most useful baking mode. It allows you to bake out the displacements from one object to another. These displacement maps can then be used as a displacement map in game engines, Blender’s renderer, or even substituted as bump maps anywhere they are needed.

Here you can see the displacement details baked from our cube with variation to the default cube:

Blender 3D 2.49 Incredible Machines

As with Normals, it is important to check the Selected to Active option.

That is it! I have just given you a overview on Baking in Blender. Although, there are more options you may play with to fine tune your results, that is the gist of what you need to know for most cases. It should definitely get you started.

Summary

In this article, we have learnt all the basics that are essential to start off with baking in blender.

If you have read this article you may be interested to view :

Blender 3D 2.49 Incredible Machines Modeling, rendering, and animating realistic machines with Blender 3D
Published: November 2009
eBook Price: $26.99
Book Price: $44.99
See more
Select your format and quantity:

About the Author :


Jonathan Williamson

Born in Kansas on January 12th, 1989, Jonathan Williamson has been dabbling in art ever since he could hold a crayon. He was always sketching but when he turned 14 and discovered 3D, things became serious. Since 2003 he has been completely immersed in the digital arts and has never looked back. For the last four years his focus has been character modeling and design. He also actively works to pass on the skills he’s learned by producing training materials for his software of choice, blender.

Jonathan has been very active in the blender community over the years: he helped organize and present two blender conferences in Montreal, one blender conference in New York, and returned two consecutive years to North Carolina to teach alongside fellow Blender-artists at a Summer camp for junior-high students hosted by Red Hat Linux. He has also been featured in two publications on Blender.

For more information visit :http://www.montagestudio.org/

Books From Packt

jQuery 1.3 with PHP
jQuery 1.3 with PHP

Joomla! with Flash
Joomla! with Flash

Papervision3D Essentials
Papervision3D Essentials

Flash with Drupal
Flash with Drupal

Joomla! 1.5 Template Design
Joomla! 1.5 Template Design

Python Testing: Beginner's Guide
Python Testing: Beginner's Guide

Plone 3 for Education
Plone 3 for Education

Blender 3D Architecture, Buildings, and Scenery
Blender 3D Architecture, Buildings, and Scenery

No votes yet

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
w
2
r
s
6
X
Enter the code without spaces and pay attention to upper/lower case.
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software