少年修仙传客户端基础资源
hch
2024-12-10 650351d224145cc692715571fc2178378bff393a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
 
[InitializeOnLoad]
public class ShaderInitialize  {
 
    static ShaderInitialize()
    {
        Shader.SetGlobalColor("_Gbl_Lgt", new Color(0.8f, 0.8f, 0.8f, 1));
        Shader.SetGlobalColor("_Gbl_Pnt", new Color(1, 1, 1, 1));
        Shader.SetGlobalColor("_Gbl_Amb", new Color(1, 1, 1, 1));
        Shader.SetGlobalColor("_Gbl_Spc", new Color(0.8f, 0.8f, 0.8f, 1));
        Shader.SetGlobalColor("_Gbl_Rim", new Color(1, 1, 1, 1));
        Shader.SetGlobalColor("_Gbl_Wat", new Color(1, 1, 1, 1));
    }
 
}