| | 1 | | using System.Collections; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using UnityEditor; |
| | 4 | | using UnityEngine; |
| | 5 | |
|
| | 6 | | namespace DCL.Skybox |
| | 7 | | { |
| | 8 | | public class RenderAmbientLayer |
| | 9 | | { |
| | 10 | | public static void RenderLayer(ref float timeOfTheDay, EditorToolMeasurements toolSize, SkyboxConfiguration conf |
| | 11 | | { |
| 0 | 12 | | config.ambientTrilight = EditorGUILayout.Toggle(SkyboxEditorLiterals.Labels.useGradient, config.ambientTrili |
| | 13 | |
|
| 0 | 14 | | if (config.ambientTrilight) |
| | 15 | | { |
| 0 | 16 | | RenderSimpleValues.RenderColorGradientField(config.ambientSkyColor, SkyboxEditorLiterals.LayerProperties |
| 0 | 17 | | RenderSimpleValues.RenderColorGradientField(config.ambientEquatorColor, SkyboxEditorLiterals.LayerProper |
| 0 | 18 | | RenderSimpleValues.RenderColorGradientField(config.ambientGroundColor, SkyboxEditorLiterals.LayerPropert |
| | 19 | | } |
| | 20 | |
|
| 0 | 21 | | } |
| | 22 | | } |
| | 23 | | } |