GPU优化

This commit is contained in:
SoulliesOfficial
2026-02-27 08:21:00 -05:00
parent 0109878661
commit a635ec4221
872 changed files with 197615 additions and 2054 deletions

View File

@@ -0,0 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteAlways]
public class GetGlobalMatrix : MonoBehaviour
{
void Update()
{
Shader.SetGlobalMatrix("_LightMatrix", Matrix4x4.Rotate(transform.rotation));
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f2d4582e981a6b248825e1c81bf295e8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: