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

290 行
6.0 KiB

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Roboto-Bold SDF - Drop Shadow
m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
m_ShaderKeywords: OUTLINE_ON UNDERLAY_ON
m_LightmapFlags: 5
m_CustomRenderQueue: 3000
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 2883032, guid: 5302535af1044152a457ed104f1f4b91, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _BumpMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _FaceTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _OutlineTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _Cube
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _FaceDilate
second: .100000001
data:
first:
name: _UnderlayOffsetX
second: .5
data:
first:
name: _UnderlayOffsetY
second: -.5
data:
first:
name: _UnderlayDilate
second: 0
data:
first:
name: _UnderlaySoftness
second: .100000001
data:
first:
name: _WeightNormal
second: 0
data:
first:
name: _WeightBold
second: .75
data:
first:
name: _OutlineWidth
second: .100000001
data:
first:
name: _OutlineSoftness
second: 0
data:
first:
name: _GradientScale
second: 10
data:
first:
name: _ScaleX
second: 1
data:
first:
name: _ScaleY
second: 1
data:
first:
name: _PerspectiveFilter
second: .875
data:
first:
name: _TextureWidth
second: 1024
data:
first:
name: _TextureHeight
second: 1024
data:
first:
name: _Bevel
second: .5
data:
first:
name: _LightAngle
second: 3.14159989
data:
first:
name: _GlowOffset
second: 0
data:
first:
name: _GlowPower
second: .75
data:
first:
name: _GlowOuter
second: .0500000007
data:
first:
name: _MaskSoftnessX
second: 0
data:
first:
name: _MaskSoftnessY
second: 0
data:
first:
name: _VertexOffsetX
second: 0
data:
first:
name: _VertexOffsetY
second: 0
data:
first:
name: _Stencil
second: 0
data:
first:
name: _StencilOp
second: 0
data:
first:
name: _StencilComp
second: 8
data:
first:
name: _StencilReadMask
second: 255
data:
first:
name: _StencilWriteMask
second: 255
data:
first:
name: _ShaderFlags
second: 0
data:
first:
name: _ScaleRatioA
second: .899999976
data:
first:
name: _ScaleRatioB
second: .731249988
data:
first:
name: _ScaleRatioC
second: .641250014
data:
first:
name: _ColorMask
second: 15
data:
first:
name: _FaceUVSpeedX
second: 0
data:
first:
name: _FaceUVSpeedY
second: 0
data:
first:
name: _OutlineUVSpeedX
second: 0
data:
first:
name: _OutlineUVSpeedY
second: 0
data:
first:
name: _BevelOffset
second: 0
data:
first:
name: _BevelWidth
second: 0
data:
first:
name: _BevelClamp
second: 0
data:
first:
name: _BevelRoundness
second: 0
data:
first:
name: _SpecularPower
second: 2
data:
first:
name: _Reflectivity
second: 10
data:
first:
name: _Diffuse
second: .5
data:
first:
name: _Ambient
second: .5
data:
first:
name: _BumpOutline
second: 0
data:
first:
name: _BumpFace
second: 0
data:
first:
name: _GlowInner
second: .0500000007
m_Colors:
data:
first:
name: _ClipRect
second: {r: -32767, g: -32767, b: 32767, a: 32767}
data:
first:
name: _FaceColor
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _UnderlayColor
second: {r: 0, g: 0, b: 0, a: .5}
data:
first:
name: _OutlineColor
second: {r: 0, g: 0, b: 0, a: 1}
data:
first:
name: _EnvMatrixRotation
second: {r: 0, g: 0, b: 0, a: 0}
data:
first:
name: _GlowColor
second: {r: 0, g: 1, b: 0, a: .5}
data:
first:
name: _MaskCoord
second: {r: 0, g: 0, b: 32767, a: 32767}
data:
first:
name: _SpecularColor
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _ReflectFaceColor
second: {r: 0, g: 0, b: 0, a: 1}
data:
first:
name: _ReflectOutlineColor
second: {r: 0, g: 0, b: 0, a: 1}