本项目演示如何创建自己的顶点动画着色器。场景不使用任何纹理或动画资源,所有内容都使用Shader Graph进行着色和动画处理。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

137 行
3.5 KiB

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!181963792 &2655988077585873504
Preset:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: DirectionalLight_Default
m_TargetType:
m_NativeTypeID: 108
m_ManagedTypePPtr: {fileID: 0}
m_ManagedTypeFallback:
m_Properties:
- target: {fileID: 0}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Type
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Color.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Color.g
value: 0.95686275
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Color.b
value: 0.8392157
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Color.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Intensity
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Range
value: 10
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SpotAngle
value: 30
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_CookieSize
value: 10
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_Type
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_Resolution
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_CustomResolution
value: -1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_Strength
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_Bias
value: 0.02
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_NormalBias
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Shadows.m_NearPlane
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Cookie
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_DrawHalo
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Flare
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_RenderMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_CullingMask.m_Bits
value: 4294967295
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Lightmapping
value: 4
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LightShadowCasterMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AreaSize.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_AreaSize.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_BounceIntensity
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ColorTemperature
value: 6570
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_UseColorTemperature
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ShadowRadius
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ShadowAngle
value: 0
objectReference: {fileID: 0}