天空盒和地板
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[ExecuteAlways]
|
||||
|
||||
public class GetGlobalMatrixLite : MonoBehaviour
|
||||
{
|
||||
|
||||
void Update()
|
||||
{
|
||||
Shader.SetGlobalMatrix("_LightMatrix", Matrix4x4.Rotate(transform.rotation));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user