add codes

This commit is contained in:
XuGaoFeng
2026-08-25 15:15:42 +08:00
parent 175f8e9336
commit c217787c5c
960 changed files with 513067 additions and 505 deletions

View File

@@ -0,0 +1,32 @@
#if ENVIRO_HDRP
using System;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEngine.Rendering.HighDefinition
{
[VolumeComponentMenu("Sky/Enviro 3 Skybox")]
[SkyUniqueID(990)]
public class EnviroHDRPSky : SkySettings
{
public override int GetHashCode()
{
int hash = base.GetHashCode();
unchecked
{
}
return hash;
}
public override int GetHashCode(Camera camera)
{
// Implement if your sky depends on the camera settings (like position for instance)
return GetHashCode();
}
public override Type GetSkyRendererType() { return typeof(EnviroHDRPSkyRenderer); }
}
}
#endif