Skip to content

Commit

Permalink
Add eye matcaps, fix eye Z rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
starstormhun committed Jan 12, 2024
1 parent 01d47e2 commit 19f1394
Show file tree
Hide file tree
Showing 15 changed files with 1,287 additions and 76 deletions.
15 changes: 12 additions & 3 deletions Material/m_EyePlus.mat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Material:
m_Name: m_EyePlus
m_Shader: {fileID: 4800000, guid: c22ae04498790c84aa0373ecc5e80b3f, type: 3}
m_ShaderKeywords: _ALPHA_A_ON _ALPHA_B_ON _LINETEXON_ON _USELIGHTCOLORSPECULAR_ON
_USERAMPFORLIGHTS_ON
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -96,7 +95,11 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ReflectMap:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 2aaeab3cbdeab0448a9753b4fd72f081, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ReflectMask:
m_Texture: {fileID: 2800000, guid: 2aaeab3cbdeab0448a9753b4fd72f081, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ReflectionMapCap:
Expand Down Expand Up @@ -140,6 +143,8 @@ Material:
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DisableMapLights: 0
- _DisablePointLights: 0
- _DisableShadowedMatcap: 0
- _DisplaceFull: 0
- _DisplaceMultiplier: 0
- _DisplaceNormalMultiplier: 1
Expand All @@ -165,6 +170,8 @@ Material:
- _ReflBlendDst: 0
- _ReflBlendSrc: 2
- _ReflBlendVal: 1
- _ReflectColMix: 1
- _ReflectRotation: 0
- _ReflectionVal: 1
- _Roughness: 0.75
- _ShadowExtend: 0.5
Expand All @@ -190,7 +197,7 @@ Material:
- _UseLightColorSpecular: 1
- _UseMatCapReflection: 1
- _UseMeshSpecular: 0
- _UseRampForLights: 1
- _UseRampForLights: 0
- _UseRampForShadows: 0
- _UseRampForSpecular: 0
- _ZWrite: 1
Expand Down Expand Up @@ -224,7 +231,9 @@ Material:
- _LineColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- _LiquidTiling: {r: 0, g: 0, b: 2, a: 2}
- _OutlineColor: {r: 0, g: 0, b: 0, a: 0}
- _ReflectCol: {r: 1, g: 1, b: 1, a: 1}
- _ShadowColor: {r: 0.628, g: 0.628, b: 0.628, a: 1}
- _ShadowHSV: {r: 0, g: 0, b: 0, a: 0}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _overcolor1: {r: 1, g: 1, b: 1, a: 1}
- _overcolor2: {r: 1, g: 1, b: 1, a: 1}
Expand Down
233 changes: 233 additions & 0 deletions Material/m_EyeWPlusTess.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
%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: m_EyeWPlusTess
m_Shader: {fileID: 4800000, guid: 8f79f653456e1fe4baf8d1576f0ee3f1, type: 3}
m_ShaderKeywords: _ALPHA_A_ON _ALPHA_B_ON _LINETEXON_ON _USELIGHTCOLORSPECULAR_ON
_USERAMPFORLIGHTS_ON
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AlphaMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _AnotherRamp:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ColorMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DisplaceTex:
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}
- _EmissionMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _HairGloss:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _LineMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
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}
- _NormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMapDetail:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ReflectMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ReflectMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ReflectionMapCap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TessTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Texture2:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Texture3:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _liquidmask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _overtex1:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _overtex2:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _overtex3:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DisableMapLights: 0
- _DisablePointLights: 0
- _DisableShadowedMatcap: 0
- _DisplaceFull: 0
- _DisplaceMultiplier: 0
- _DisplaceNormalMultiplier: 1
- _DstBlend: 0
- _EmissionIntensity: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _KKPRimAsDiffuse: 0
- _KKPRimIntensity: 0.75
- _KKPRimRotateX: 0
- _KKPRimRotateY: 0
- _KKPRimSoft: 1.5
- _LineWidthS: 1
- _Metallic: 0
- _Mode: 0
- _NormalMapScale: 1
- _OcclusionStrength: 1
- _OutlineOn: 1
- _Parallax: 0.02
- _ReflBlendDst: 0
- _ReflBlendSrc: 2
- _ReflBlendVal: 1
- _ReflectColMix: 1
- _ReflectRotation: 0
- _ReflectionVal: 1
- _Roughness: 0.75
- _ShadowExtend: 0.5
- _SmoothnessTextureChannel: 0
- _SpeclarHeight: 0.85
- _SpecularHairPower: 1
- _SpecularHeightInvert: 0
- _SpecularHighlights: 1
- _SpecularIsHighLightsPow: 64
- _SpecularIsHighlights: 0
- _SpecularIsHighlightsRange: 5
- _SpecularPower: 0
- _SpecularPowerNail: 0
- _SrcBlend: 1
- _TessBias: 75
- _TessMax: 4
- _TessMin: 1
- _TessSmooth: 0
- _Tolerance: 0.0005
- _UVSec: 0
- _UseDetailRAsSpecularMap: 0
- _UseKKPRim: 0
- _UseLightColorSpecular: 1
- _UseMatCapReflection: 1
- _UseMeshSpecular: 0
- _UseRampForLights: 1
- _UseRampForShadows: 0
- _UseRampForSpecular: 0
- _ZWrite: 1
- _alpha_a: 1
- _alpha_b: 1
- _linetexon: 1
- _liquidbbot: 0
- _liquidbtop: 0
- _liquidface: 0
- _liquidfbot: 0
- _liquidftop: 0
- _nip: 0
- _nip_specular: 0.5
- _nipsize: 0.5
- _notusetexspecular: 0
- _rimV: 0.75
- _rimpower: 0.5
- _tex1mask: 0
m_Colors:
- _Clock: {r: 0, g: 0, b: 0, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color2: {r: 0.7843137, g: 0.7843137, b: 0.7843137, a: 1}
- _Color3: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- _CustomAmbient: {r: 0.6666667, g: 0.6666667, b: 0.6666667, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _GlossColor: {r: 1, g: 1, b: 1, a: 1}
- _KKPRimColor: {r: 1, g: 1, b: 1, a: 1}
- _LineColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- _LiquidTiling: {r: 0, g: 0, b: 2, a: 2}
- _OutlineColor: {r: 0, g: 0, b: 0, a: 0}
- _ReflectCol: {r: 1, g: 1, b: 1, a: 1}
- _ShadowColor: {r: 0.628, g: 0.628, b: 0.628, a: 1}
- _ShadowHSV: {r: 0, g: 0, b: 0, a: 0}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _overcolor1: {r: 1, g: 1, b: 1, a: 1}
- _overcolor2: {r: 1, g: 1, b: 1, a: 1}
- _overcolor3: {r: 1, g: 1, b: 1, a: 1}
- _shadowcolor: {r: 0.6298235, g: 0.6403289, b: 0.747, a: 1}
Loading

0 comments on commit 19f1394

Please sign in to comment.