How to Use Depth of Field: Rendering with Marmoset Toolbag

Rendering Depth of Field in Marmoset Toolbag

Hello, and welcome to another quick Marmoset Toolbag tutorial.

If you prefer to see the video tutorial here it is:

Rendering Depth of Field with Marmoset Toolbag

How to Render Depth of Field in Marmoset Toolbag 4?

The Basics

In today’s tutorial, we will explain how to use the depth of field inside of Marmoset Toolbag.

Let’s begin with this scene. We have a character and some simple lighting.

3D Character in the Marmoset Toolbag viewport

Note that we are using “Ray Tracing”. If you don’t have it enabled, go to the “Render” menu and enable “Use Ray Tracing”.

There is a Sky element lighting the scene and one blue rim light.

How do I enable Depth of Field in Marmoset?

Enable Depth of Field in Marmoset Toolbag

To enable the Depth of Field, you have to go to the “Focus” section inside the camera settings.

For this tutorial, we will use the “Ray Traced” option.

Probably, the image is completely blurred. This is because the focal distance is too close to the camera.

Focal Distance

Remember that the focal distance is the distance between the sensor or film inside the camera and your subject.

Diagram of the Focal Distance between the camera and the subject

You can adjust the focal distance using the “Focus Distance” slider. You can pick the focal point with the icon at the right of the slider to be even more accurate.

Focus Distance Icon in Marmoset Toolbag

Let’s click here and then click on the viewport in the exact area you want to set the focal distance. In this case, near the eyes.

Aperture Dial in Marmoset Toolbag

Now, we can see some blurring in the ears. Let’s increase the blur amount by changing the aperture.

Using the Aperture Dial, we will decrease the value, making the depth of field shallower. I will go with an aperture of around 4.

If you set a lower value, the effect is stronger. But let’s set it to 4 for this particular example.

Background Elements

To make the depth of field even more noticeable, I will add some elements in the background.

I created a few small spheres in Maya and imported the FBX into the scene. As you can see, I disabled the Depth of Field for now, so we can see the difference.

I’m using an emissive material to make the spheres very bright.

Bokeh effect on marmoset Toolbag

Let’s enable back the depth of field. Immediately you can see the bokeh caused by the spheres. This helps our character to stand out more in the composition.

If you go to the aperture dropdown, you can change the shape of the bokeh.

There are many shapes you can choose. From the standard bladed aperture to some unusual shapes like stars, bubbles, or hearts.

The Depth of Field also affects the Sky texture.

Bokeh effect on Marmoset Toolbag Defocus

You can choose a few different sky textures from the library to see how the background is also out of focus.

Anamorphic Bokeh

Finally, I would like to discuss the Anamorphic Bokeh Ratio.

When anamorphic lenses are used in real life, the image is squeezed horizontally, making the bokeh a vertically shaped oval.

Here are some examples of oval bokeh in movies.

Anamorphic Bokeh in Movies. Mission Impossible 3, Batman Begins, Heat
Anamorphic Bokeh in Mission Impossible 3, Batman Begins and Heat.

Back to Marmoset.

We can emulate this oval bokeh by increasing the Anamorphic Bokeh ratio.

Anamorphic Bokeh Ratio in Marmoset Toolbag

Here is the anamorphic trademark, a vertical oval. If we decrease the value, it will have the inverse effect, making the oval stretch horizontally.

Final Render

Here is the final render.

Depth of Field rendered with Marmoset Toolbag

That’s it for today’s video. So, thank you for watching all the way to the end, and please don’t forget to like the video and subscribe to see more content like this.

Thank you and until the next time.

Scroll to Top