(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Tutorials]] | ||
Sine.Spaces uses Deferred rendering. So you can use as many lights as you wish. | Sine.Spaces uses Deferred rendering. So you can use as many lights as you wish. | ||
+ | |||
+ | Space also implements dynamic environmental lighting and effects, using a [[custom skybox shader]] and [[day/night cycles]]. | ||
Below is the Unity5 documentation for scene lighting. It's a bit long but worth the read. | Below is the Unity5 documentation for scene lighting. It's a bit long but worth the read. | ||
Line 9: | Line 12: | ||
[[https://unity3d.com/learn/tutorials/topics/graphics/using-lights?playlist=17102 Basic Lights]] | [[https://unity3d.com/learn/tutorials/topics/graphics/using-lights?playlist=17102 Basic Lights]] | ||
− | + | ---- | |
== Baking Your Lighting == | == Baking Your Lighting == | ||
Baking your lighting will help with overall performance.<br> | Baking your lighting will help with overall performance.<br> | ||
1. Make sure any objects that are not moving are set to static, you will find the tickbox upper right<br> | 1. Make sure any objects that are not moving are set to static, you will find the tickbox upper right<br> | ||
− | corner of the inspector when you select | + | corner of the inspector when you select an object.<br><br> |
− | [[File:StaticBox.JPG]] | + | [[File:StaticBox.JPG]]<br><br> |
+ | 2. If the object moves in any way leave it unchecked.<br> | ||
+ | 3. Go to Window > Lighting<br> | ||
+ | Be sure the following are checked:<br> | ||
+ | Precomputed Realtime GI<br> | ||
+ | Baked GI Setting<br> | ||
+ | Select the Baked option under Ambient GI drop-down box.<br> | ||
+ | Set your Baked Resolution between 8 - 15, the larger the scene the lower the number here.<br> | ||
+ | [[File:Lightingpanel.JPG]]<br><br> | ||
+ | To have lights show on moving objects and avatars you will need to use Light Probes.<br> | ||
+ | 1. Create and empty game objects.<br> | ||
+ | 2. Add the Probe Drop Plane component.<br> | ||
+ | 3. Move this grid with globes to the top of your scene, the object is to scale it so it covers<br> | ||
+ | the overall area of your scene. So over buildings, larger objects.<br> | ||
+ | 4. Adjust the Density Setting in the Drop Plane so the globes are evenly covering your scene.<br> | ||
+ | If its darker add a bit more then if a scene is well lit.<br> | ||
+ | 5. Click Update and the drop plane will expand.<br> | ||
+ | '''Note:''' If you have additional dark corners, you may wish to add more manually <br> | ||
+ | using an empty game object attach the component Light Probe Group moving one probe into<br> | ||
+ | the dark area and one nearby in the lit area to reflect off each other.<br><br> | ||
+ | When you have everything set up click 'Build' this can take quite awhile a suggestion is run it overnight. | ||
+ | ---- | ||
+ | {{UI}} | ||
+ | {{Video}} | ||
+ | {{Creation Navbox}} | ||
+ | {{Tutorials Navbox}} |
Sine.Spaces uses Deferred rendering. So you can use as many lights as you wish.
Space also implements dynamic environmental lighting and effects, using a custom skybox shader and day/night cycles.
Below is the Unity5 documentation for scene lighting. It's a bit long but worth the read.
Here is a video on the basics of light.
Baking your lighting will help with overall performance.
1. Make sure any objects that are not moving are set to static, you will find the tickbox upper right
corner of the inspector when you select an object.
2. If the object moves in any way leave it unchecked.
3. Go to Window > Lighting
Be sure the following are checked:
Precomputed Realtime GI
Baked GI Setting
Select the Baked option under Ambient GI drop-down box.
Set your Baked Resolution between 8 - 15, the larger the scene the lower the number here.
To have lights show on moving objects and avatars you will need to use Light Probes.
1. Create and empty game objects.
2. Add the Probe Drop Plane component.
3. Move this grid with globes to the top of your scene, the object is to scale it so it covers
the overall area of your scene. So over buildings, larger objects.
4. Adjust the Density Setting in the Drop Plane so the globes are evenly covering your scene.
If its darker add a bit more then if a scene is well lit.
5. Click Update and the drop plane will expand.
Note: If you have additional dark corners, you may wish to add more manually
using an empty game object attach the component Light Probe Group moving one probe into
the dark area and one nearby in the lit area to reflect off each other.
When you have everything set up click 'Build' this can take quite awhile a suggestion is run it overnight.
|
|
|
|