lit shader, refactoring

This commit is contained in:
Kirill Chikalin
2024-12-02 18:24:09 +03:00
parent abca1ab898
commit 5cddf29c09
35 changed files with 30661 additions and 1582 deletions

View File

@@ -8,12 +8,12 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiberationSans SDF Material
m_Shader: {fileID: 4800000, guid: 14eb328de4b8eb245bb7cea29e4ac00b, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: a3d800b099a06e0478fb790c5e79057a, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 1
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
@@ -31,6 +31,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _FaceTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -43,39 +47,76 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OutlineTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Ambient: 0.5
- _Bevel: 0.645
- _BevelAmount: 0
- _BevelClamp: 0
- _BevelOffset: -0.051
- _BevelRoundness: 0
- _BevelType: 0
- _BevelWidth: 0
- _BlendOp: 0
- _BumpFace: 0.5
- _BumpOutline: 0.5
- _BumpScale: 1
- _CameraFadingEnabled: 0
- _CameraFarFadeDistance: 2
- _CameraNearFadeDistance: 1
- _ColorMask: 15
- _Cull: 2
- _CullMode: 0
- _Cutoff: 0.5
- _Diffuse: 0.5
- _DiffusePower: 1
- _DistortionBlend: 0.5
- _DistortionEnabled: 0
- _DistortionStrength: 1
- _DistortionStrengthScaled: 0
- _DstBlend: 0
- _EmissionEnabled: 0
- _FaceDilate: 0
- _FaceShininess: 0
- _FaceUVSpeedX: 0
- _FaceUVSpeedY: 0
- _FlipbookMode: 0
- _Glossiness: 0.5
- _GlowInner: 0
- _GlowOffset: 0.302
- _GlowOuter: 0.05
- _GlowPower: 1
- _GradientScale: 10
- _LightAngle: 3.1416
- _LightingEnabled: 1
- _MaskEdgeSoftness: 0.01
- _MaskInverse: 0
- _MaskSoftnessX: 0
- _MaskSoftnessY: 0
- _MaskWipeControl: 0.5
- _Metallic: 0
- _Mode: 0
- _OutlineMode: 0
- _OutlineShininess: 0
- _OutlineSoftness: 0
- _OutlineUVSpeedX: 0
@@ -83,6 +124,8 @@ Material:
- _OutlineWidth: 0.082
- _Padding: 0
- _PerspectiveFilter: 0.875
- _QueueControl: -1
- _QueueOffset: 0
- _Reflectivity: 9.84
- _ScaleRatioA: 0.9
- _ScaleRatioB: 0.73125
@@ -91,7 +134,11 @@ Material:
- _ScaleY: 1
- _ShaderFlags: 1
- _Sharpness: 0
- _SoftParticlesEnabled: 0
- _SoftParticlesFarFadeDistance: 1
- _SoftParticlesNearFadeDistance: 0
- _SpecularPower: 2
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
@@ -108,20 +155,35 @@ Material:
- _VertexOffsetY: 0
- _WeightBold: 0.75
- _WeightNormal: 0
- _ZWrite: 1
m_Colors:
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
- _FaceUVSpeed: {r: 0, g: 0, b: 0, a: 0}
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
- _IsoPerimeter: {r: 0, g: 0, b: 0, a: 0}
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
- _MaskEdgeColor: {r: 1, g: 1, b: 1, a: 1}
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
- _OutlineColor1: {r: 0, g: 1, b: 1, a: 1}
- _OutlineColor2: {r: 0.009433985, g: 0.02534519, b: 1, a: 1}
- _OutlineColor3: {r: 0, g: 0, b: 0, a: 1}
- _OutlineOffset1: {r: 0, g: 0, b: 0, a: 0}
- _OutlineOffset2: {r: 0, g: 0, b: 0, a: 0}
- _OutlineOffset3: {r: 0, g: 0, b: 0, a: 0}
- _OutlineUVSpeed: {r: 0, g: 0, b: 0, a: 0}
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _Softness: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
- _UnderlayOffset: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &11400000