Lighting Settings
Lighting
Built-in Lighting Templates
The mod editor comes with 13 built-in lighting templates. THese show off the different options available with the lighting settings. If none of the suit your mod you can create your own custom lighting
Custom Lighting
Custom lighting allows you to set all of the values of the different lighting settings available. You can start changing the settings and visually see the scene view change. If you'd like to create custom lighting that uses one of the built-in preset as a starting point, use the "Import Built-in Lighting Profile" foldout to select a built-in preset and load it into the custom lighting settings.
Skybox
The skybox is the colored sphere that surrounds the scene. The skybox color can slightly influence the color of the scene, or greatly influence the light in the scene if the ambient lighting is set to use the skybox color.
Property | Description |
---|---|
Stars | Should stars be visible in the sky. |
Top Color | The color of the sky when looking straight up. This color fades down to the horizon. |
Horizon Color | The color of the sky from the horizon, blending up into the Top Color. |
Ground Color | The color of the sky when looking straight down. This color blends up into the horizon. |
Halo Color | The color of the thin band of sky around the horizon. |
Halo Exponent | Controls the blending/falloff of the Halo Color. Higher values will make this blending faster with the halo color in a tight band. Low values blending smoother and spreading the color across more of the skybox. |
Halo Strength | How strong the Halo Color is when blended into the sky. Lower values will make it darker, moving towards black. Higher values will move it towards white. A value of 1 retains the full halo color. |
Global Light
This section creates a directional light that can act as the sun. This light shines in a given direction equally lighting all objects from that direction.
Property | Description |
---|---|
Use Global Light | Should a global light (sun) be used in the mod. Disabling the global light may be useful if you want to do your own lighting using directional Light Components, or you don't want any directional lighting in the scene. |
Sunlight Direction | The X,Y,Z Euler angles to describe the rotation of the light. A value of 0,0,0 will point the light towards the positive Z axis, or forward in the world. |
Sunlight Color | The color of the global directional light. |
Sunlight Intensity | The intensity or brightness of the light. |
Shadow Strength | The strength or darkness of the shadows. 1 is completely dark while 0 is no visible shadow. |
Sun Shadow Mode | What type of shadows the global directional light will use. Can be None, Soft or Hard. Soft and hard changes the edges of shadows to be either blurred and sharp. |
Ambient Light
Ambient light is a soft light that illuminates all objects equally from all directions.
Property | Description |
---|---|
Ambient Source | What should determine the color of the ambient lighting. |
Skybox | The colors of the skybox will be used as the ambient light colors. |
Ambient Intensity | The strength or brightness of the ambient lighting color from the skybox. |
Gradient | The gradient between two colors is used as the ambient light colors. |
Ambient Sky Color | The color used for ambient lighting on the top of objects. |
Ambient Equator Color | The color used for ambient lighting on the sides of objects. |
Ambient Ground Color | The color used for ambient lighting on the underside of objects. |
Color | A single color is used as the ambient light color. |
Ambient Color | The color used for ambient lighting. |
Making a completely dark scene
There are a few things that go into adding light to the scene. If you want a completely dark scene you'll need to consider these things.
- The global light will add light coming from a given direction. You can disable this by unticking Use Global Light under Global Light.
- The Ambient Light applies soft lighting to everything in the scene in all directions. To disable this, set the Ambient Source to "Color" and set the Ambient Color to black.
- The skybox will add some light to the scene. Set the different skybox colors to black to get a completely dark scene.
- Also disable fog, or set the Fog Color to black.