20 lines
678 B
C#
20 lines
678 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class SetSkybox : MonoBehaviour
|
||
|
|
{
|
||
|
|
public Material mat_skybox;
|
||
|
|
public Color ShadowColor, SkyColor, EquatorColor, GroundColor;
|
||
|
|
|
||
|
|
private void Start()
|
||
|
|
{
|
||
|
|
//RenderSettings.skybox = mat_skybox;
|
||
|
|
//RenderSettings.sun = GetComponent<Light>();
|
||
|
|
//RenderSettings.subtractiveShadowColor = ShadowColor;
|
||
|
|
//RenderSettings.ambientMode = UnityEngine.Rendering.AmbientMode.Trilight;
|
||
|
|
//RenderSettings.ambientSkyColor = SkyColor;
|
||
|
|
//RenderSettings.ambientEquatorColor = EquatorColor;
|
||
|
|
//RenderSettings.ambientGroundColor = GroundColor;
|
||
|
|
}
|
||
|
|
}
|