Game Development Reference
In-Depth Information
5. Configure the
Culling Mask
of the
BackgroundCamera
to just
Background
by selecting
Nothing
in the drop-down selection and then selecting
Background
. (For an added bonus, also remove the Background layer
from the
Culling Mask
of the
Main Camera
so it does not render it.)
6.
Add a
Skybox
component (
Add
Component
|
Rendering
|
Skybox
)
to the
BackgroundCamera
and set the
Custom Skybox
property to one
of the skyboxes from the
SkyBox Volume 2
folder. You can do this by
dragging the
DSG.mat
asset (the material, not the textures) to the
Custom
SkyBox
property of the
Skybox
Component
. I personally went for the
DeepSpaceGreen SkyBox
(in the folder of the same name under the
SkyBox
Volume 2
folder).
7.
Finally, add a new
Particle System
as a child of the
BackgroundCamera
(right-click on
BackgroundCamera
and select
Particle System
) with the
following settings (any settings you won't alter are the defaults):
° Transform
° Position: X =
83
, Y =
28
, Z =
76
° Rotation: X =
10
, Y =
240
, Z =
1.8
° Particle System
° Duration =
20
° Start Lifetime =
20
° Start Speed =
10
° Emission Rate =
5