
Modular Backgrounds - Cosmos is a pack of high detail nebula & galaxy prefabs that can be added to the background of your 3D scenes.
You can place the prefabs anywhere in the sky, adjust their size, color, and other visual properties. Just keep in mind these are background-only objects, so you cannot fly toward them.
How do I add planets to my scene?
Step 1 - Background
Before you add background objects, make sure your scene has a GameObject with the CwBackground component attached.
Step 2 - Planets
In your Project tab you can go to the Plugins/CW/ModularBackgrounds/Cosmos/Prefabs folder, find the planet prefab you want, and drag and drop it into your scene.
Step 3 - Adjust Settings
After you add the prefab to your scene, you can adjust its visual settings via the inspector.
To adjust the planet's position in the sky, you can modify the Transform component's Rotation setting.
To adjust the planet's size in the sky, you can modify the CwBackgroundPlanet component's Arc setting.
To adjust the material settings you can find the CwBackgroundPlanet component's MaterialOverrides setting, and click the Add button to a new one. For example, the _CW_AtmosphereFog property can be overridden to change the atmosphere thickness.
Step 4 - Done!
Enter play mode and enjoy the high detail planet!
How do I add nebulas to my scene?
Step 1 - Background
Before you add background objects, make sure your scene has a GameObject with the CwBackground component attached.
Step 2 - Nebulas & Galaxies
In your Project tab you can go to the Plugins/CW/ModularBackgrounds/Cosmos/Prefabs folder, find the prefab you want, and drag and drop it into your scene.
Step 3 - Adjust Settings
After you add the prefab to your scene, you can adjust its visual settings via the inspector.
To adjust the prefab's position in the sky, you can modify the Transform component's Rotation setting.
To adjust the prefab's size in the sky, you can modify the CwBackgroundTexture component's Arc setting.
To adjust the material settings you can find the CwBackgroundTexture component's MaterialOverrides setting, and click the Add button to a new one. For example, the _CW_AlbedoShift property can be overridden to change the prefab colors.
Step 4 - Done!
Enter play mode and enjoy the high detail nebulas and galaxies!
How do I add stars to my scene?
Step 1 - Add Stars
In your Project tab you can go to the Plugins/CW/ModularBackgrounds/Shared/Prefabs folder. Inside here you can find the Starfield1/2/3 and Sun1 prefabs. Pick the prefab you want, and drag and drop it into your scene.
Step 2 - Done!
Enter play mode and enjoy the high detail stars!