浏览代码

Fixed Fresnel effect done before outline and add water like movement

/main
treivize 4 年前
当前提交
245438bb
共有 6 个文件被更改,包括 519 次插入151 次删除
  1. 17
      UOP1_Project/Assets/Art/Characters/SlimeCritter/SlimeCritterBody_Orange.mat
  2. 26
      UOP1_Project/Assets/Art/Characters/SlimeCritter/SlimeCritterEye.mat
  3. 158
      UOP1_Project/Assets/Shaders/SubGraphs/ToonShading.shadersubgraph
  4. 381
      UOP1_Project/Assets/Shaders/Toon_Fresnel.shadergraph
  5. 81
      UOP1_Project/Assets/Prefabs/Characters/SlimeCritter.prefab
  6. 7
      UOP1_Project/Assets/Prefabs/Characters/SlimeCritter.prefab.meta

17
UOP1_Project/Assets/Art/Characters/SlimeCritter/SlimeCritterBody_Orange.mat


m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SlimeCritterBody
m_Shader: {fileID: -6465566751694194690, guid: bf36778a400a0894b86a1f49c422fa62,
m_Name: SlimeCritterBody_Orange
m_Shader: {fileID: -6465566751694194690, guid: 3ef05ec63152ae9488cbf74c84ddba20,
type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_3DA29895: -1.2
- Vector1_6B55B4E: 1.86
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _LightProbeContribution: 4.38
- _LightProbeContribution: 2.81
- _OutlineDepthSensitivity: 0.231
- _OutlineDepthSensitivity: 1
- _OutlineThickness: 1
- _OutlineThickness: 0.28
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5

- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- Color_4818C45D: {r: 1, g: 0.30584788, b: 0.042452812, a: 0}
- Color_5D090F08: {r: 0.5, g: 0.4254902, b: 0, a: 0}
- Color_D678A443: {r: 1, g: 0.75939256, b: 0, a: 0}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

- _SpecularColor: {r: 1, g: 0, b: 0, a: 0}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 0.98039216}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}
--- !u!114 &6014427166983149364
MonoBehaviour:

26
UOP1_Project/Assets/Art/Characters/SlimeCritter/SlimeCritterEye.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SlimeCritterEye
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: bf36778a400a0894b86a1f49c422fa62,
type: 3}
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3

m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTexture:
m_Texture: {fileID: 2800000, guid: 95e0f54d3bdba4d4ab879303a8ae402d, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecularMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0

- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _LightProbeContribution: 3.5
- _OutlineDepthSensitivity: 1
- _OutlineNormalsSensitivity: 1
- _OutlineThickness: 1
- _Smoothness: 0.5
- _Smoothness: 0.369
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1

- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _MainColor: {r: 1, g: 1, b: 1, a: 0}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 0}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}
--- !u!114 &8233185819837176173
MonoBehaviour:
m_ObjectHideFlags: 11

158
UOP1_Project/Assets/Shaders/SubGraphs/ToonShading.shadersubgraph
文件差异内容过多而无法显示
查看文件

381
UOP1_Project/Assets/Shaders/Toon_Fresnel.shadergraph
文件差异内容过多而无法显示
查看文件

81
UOP1_Project/Assets/Prefabs/Characters/SlimeCritter.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &4713103222846841309
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalPosition.x
value: -3.7841568
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.007866034
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalPosition.z
value: -2.5942383
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071067
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 557d3cadbf214c3409b18a06c57a1262, type: 2}
- target: {fileID: -7511558181221131132, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 90947f09ca22f984898b016a197efedb, type: 2}
- target: {fileID: 919132149155446097, guid: e5ad878f221720f478a554baa6eefc13,
type: 3}
propertyPath: m_Name
value: SlimeCritter
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5ad878f221720f478a554baa6eefc13, type: 3}

7
UOP1_Project/Assets/Prefabs/Characters/SlimeCritter.prefab.meta


fileFormatVersion: 2
guid: 9bcd8e0611f02dc41989f02cda0c3643
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存