A Beginner's Guide To Using Bakery

If you open the Bakery window, it'll change your lighting settings so that Unity won't try to automatically overwrite the lightmaps it bakes. Because Bakery is seperate from Unity's lighting system, you'll need to take note of the following:

Bakery doesn't use Unity's Light components. If you have a regular Light in your scene, it will always be rendered as a Realtime light. Instead, Bakery comes with its own set of Light components, which have different settings from Unity's own.

You can place a Unity light and a Bakery light on the same object. If you place a Bakery light onto a Unity light, it will provide options to copy the Unity light's parameters. This is handy for when you want to convert a lot of lights to Bakery lights - just select them all, add the corresponding Bakery Light component, and select "copy from realtime light".

When baking the light from Bakery, it will also set the Baked flag on the Unity light. This can be used for Mixed lighting, which has the same performance impact as a Realtime light, but looks nicer due to having bounced indirect lighting from the environment. Or you can use it to preview directional and point lights before you bake them, visualizing them as Realtime lights.

With Unity, the skybox is automatically used to render ambient light in the skybox, but this isn't the case with Bakery. To render ambient light, you must add a Bakery Sky Light component. The Sky Light will cast lighting from all around the outside of your scene onto it using either an ambient colour or a cubemap. Without ones, shadows will be black.

Ideally, you should render a cubemap of your skybox using a Custom reflection probe, with everything but the sky hidden. Then use the resulting texture in the Sky Light. The result will look accurate and smooth.

Bakery DOES use Unity's Light Probe Group components to bake light probes. It provides two Light Probe Modes:

If you use L1 mode, light probes are baked at the same time as the lightmap. If using Legacy mode, you'll need to bake them separately. Bakery will bake data into light probes when the "Generate Light Probes" button is clicked.

So, to review, when making lighting for a scene, you should:


Revision #1
Created 26 January 2022 20:23:47 by Silent
Updated 26 January 2022 20:25:48 by Silent