Oxygen Tutorial


Expanding the scene

  1. Create a corridor from the following prefabs. Make sure each part is snapped in place correctly.

Two Corr1UDoorL pieces.
img/corridor1.png
Two Corr3U pieces.
img/corridor2.png
A CorrEnd and CorrEndRoom at either end of the corridor.
img/corridor3.png
2. Create an EnvironmentProbe in the middle of the corridor. Rename it "Corridor Probe". Enable the reflection box and resize it to fit the corridor, just like the room in Part 1 of this tutorial.
img/corridor4.png
3. Create an empty object, rename it "Corridor". Parent the corridor parts to it, add the Environment Setter component and assign the Corridor Probe.
img/corridor5.png
4. Don't forget to swap any template materials for WhiteBrick by using the MeshGroup script's Swap Material feature.
img/corridor6.png
5. Bake lightmaps from the MeshGroup menu. Select the Corridor Probe and click Recalculate Cubemap. Select the Corridor object and click Refresh.
img/corridor7.png
6. Repeat the process once again, creating another room, probe and setter. This time we'll use the Room1.5x2.5U_V1 prefab.
img/corridor8.png