第一次提交

This commit is contained in:
tangbin
2025-06-14 13:46:24 +08:00
commit 1f3323e115
3765 changed files with 3447853 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 203af09763426b849863f19873323ef2
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,50 @@
#ifndef VACUUM_SHADERS_T2M_DEFERRED_CGINC
#define VACUUM_SHADERS_T2M_DEFERRED_CGINC
#include "../cginc/Core.cginc"
void vert (inout appdata_full v, out Input o)
{
UNITY_INITIALIZE_OUTPUT(Input,o);
o.texcoord = v.texcoord.xy;
//Curved World
#if defined(CURVEDWORLD_IS_INSTALLED) && !defined(CURVEDWORLD_DISABLED_ON)
#ifdef CURVEDWORLD_NORMAL_TRANSFORMATION_ON
CURVEDWORLD_TRANSFORM_VERTEX_AND_NORMAL(v.vertex, v.normal, v.tangent)
#else
CURVEDWORLD_TRANSFORM_VERTEX(v.vertex)
#endif
#endif
}
void surf (Input IN, inout SurfaceOutputStandard o)
{
#if defined(_ALPHATEST_ON)
float holesmapValue = TerrainToMeshCalculateClipValue(IN.texcoord.xy);
clip(holesmapValue - 0.5);
#endif
#if defined(TERRAIN_TO_MESH_PASS_SHADOW_CASTER)
o.Albedo = 0;
o.Alpha = 1;
o.Normal = float3(0, 0, 1);
o.Metallic = 0;
o.Smoothness = 0;
o.Occlusion = 1;
#else
TerrainToMeshCalculateLayersBlend(IN.texcoord.xy, o.Albedo, o.Alpha, o.Normal, o.Metallic, o.Smoothness, o.Occlusion);
#endif
}
#endif

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 2d07730cc67dffd49af033f967d533a7
timeCreated: 1446884875
licenseType: Free
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 6f64f1c0a2699f049b359df73c926832
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant: