转载地址Scene Background
You should create 2 cameras. Name the first one "Main camera", name the second one "Background camera".
- Create a GUI texture (Gameobject->create other->GUITextture), drag your picture from Project to Texture in Inspector panel. Create a new layer (example: star) and assign it to that GUI texture.
- Choose Background camera in Hierarchy. In Inspector panel, set Clear flags to Solid color, Culling Mask -> Nothing and then Culling Mask -> Star (layer)
- Change depth to -1.
- Choose Main camera.
- Set Clear flags to Depth only.
- Culling Mask -> Uncheck "star" layer.
- Change Depth to 1.
Remember to remove Audio listener from the background camera