In this new post of the series Blender tutorial I will talk about light.
In the previous post of the series “Blender tutorial” we talked about textures in Blender. In this post we will explore lights in Blender.
First of all we need to clarify one thing: lights in Blender are called lamps. So in all menus and option we will find that word to identify lights.
To add a light to our scenes, just use the option Add -> Lamp and select one of the light type available. Let’s add for example a simple point light.
We can then customize the light properties using the related tab in the properties panel. In this section you can find specific customizable properties for each type of light. For example for a point light we can customize:
For the point light (and also some other kind of light) it is possible to enable shadows. To do that we have to choose ray shadow in the light properties panel and customize the look and feel of the shadow. Here we can also define the number of samples to be used to generate the shadows: the higher the better shadow we obtain (if you want to know more about ray tracing shadows, you can read this lecture. To actually render the shadow, we need also to set the shadow flag enable in the renderer settings properties panel.
There are other types of lights. For example we have spot lamps. These are light with a specific dim that simulate a cone of light. We can customize its properties in the light tab in the properties panel. One thing to note for spot light is that we can customize the cone (shape, size…).
Spot light can use a new type of shadow called buffer shadow. They are useful because they can be rendered more quickly. After enabling it in the properties panel of the spot light, we can customize it as always. There are different type of buffer shadow:
Another type of light is Hemi-lamps. This are used to create an overall directional light for you scene. As a consequence of the fact that it is a directional light, the position of it doesn’t change the final lighting result. Only the orientation influences the final lighting result. As always, we can customize its behaviour in the properties panel.
The last available type of light is the area lamps. This kind of light provide illumination from a specific region rather than a single point or a single direction. We can customize it as always from the properties panel. One important thing to note is that area light as a distance property instead of falloff. This parameter determines the final attenuation result. the distance is represented in the 3D window as a dashed line. The only type of shadow supported the ray traced shadow. We can also customize the shape of the shadow: different shapes influence the final rendering result.
In the next post we will talk about how to do other cool stuff with lights in Blender.
Recently I upgraded my ID3TagEditor swift package to the latest Swift tools version (5.3). During the upgraded I discovered that now you can bundle reources with your Swift package. In this post I will show you how you can do this, and also a interesting trick in order to be able to build a project as a Swift Package and as a standard project from Xcode.Read More
Recently I migrated my website to Webpack and TypeScript. I decided also to give a try to Workbox, a set of Google libraries to improve the creation of a Progressive Web App. Let’s see how easy it is to create a PWA with this tools.Read More
Do you know that it is possible to use UKit components in SwiftUI? Let’s see how you can use UIViewRepresentable and UIViewControllerRepresentable to use your UIKit based component or to fill the gap for missing SwiftUI API.Read More