This commit is contained in:
2025-04-03 02:30:16 +08:00
parent 142adb61c6
commit bee7af1732
14907 changed files with 1009130 additions and 13 deletions

View File

@ -0,0 +1,27 @@
Shader "Hidden/DeltaTime"
{
SubShader
{
Pass
{
CGPROGRAM
#pragma vertex vert_img
#pragma fragment frag
#include "UnityCG.cginc"
#include "Preview.cginc"
float _EditorDeltaTime;
float4 frag( v2f_img i ) : SV_Target
{
float4 t = _EditorDeltaTime;
t.y = 1 / _EditorDeltaTime;
t.z = _EditorDeltaTime;
t.w = 1 / _EditorDeltaTime;
return cos(t);
}
ENDCG
}
}
}