浏览代码

Tweaks, dither shader

/main
Ciro Continisio 4 年前
当前提交
09419cf4
共有 8 个文件被更改,包括 260 次插入240 次删除
  1. 15
      UOP1_Project/Assets/Prefabs/Characters/PigChef.prefab
  2. 138
      UOP1_Project/Assets/Settings/Graphics/ToonRendererData.asset
  3. 97
      UOP1_Project/Assets/Art/Materials/ObstructedCharacters_Dither.mat
  4. 74
      UOP1_Project/Assets/Shaders/ObstructedCharacter_Dither.shadergraph
  5. 90
      UOP1_Project/Assets/Materials/Character_Behind.mat
  6. 86
      UOP1_Project/Assets/Shaders/Character_Behind.shadergraph
  7. 0
      /UOP1_Project/Assets/Shaders/ObstructedCharacter_Dither.shadergraph.meta
  8. 0
      /UOP1_Project/Assets/Art/Materials/ObstructedCharacters_Dither.mat.meta

15
UOP1_Project/Assets/Prefabs/Characters/PigChef.prefab


propertyPath: m_Name
value: JumpParticle
objectReference: {fileID: 0}
- target: {fileID: 1331107967620109782, guid: 5bf7aeff6af6cad4ba9c19219c9841db,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 3346050453518178618, guid: 5bf7aeff6af6cad4ba9c19219c9841db,
type: 3}
propertyPath: m_LocalPosition.x

propertyPath: m_Name
value: WalkingParticle
objectReference: {fileID: 0}
- target: {fileID: 4225628047528096763, guid: f8a6e96eef53e5a4686f9a85a72fe73b,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 8368940308521127494, guid: f8a6e96eef53e5a4686f9a85a72fe73b,
type: 3}
propertyPath: InitialModule.startSize.scalar

type: 3}
propertyPath: m_Name
value: LandingParticle
objectReference: {fileID: 0}
- target: {fileID: 4299113413002230598, guid: 2a17d00f8cddbf44ea0f55e00cbc97e9,
type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2a17d00f8cddbf44ea0f55e00cbc97e9, type: 3}

138
UOP1_Project/Assets/Settings/Graphics/ToonRendererData.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-7287018276066913751
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: CharacterInFront
m_EditorClassIdentifier:
m_Active: 1
settings:
passTag: NewRenderObjects
Event: 300
filterSettings:
RenderQueueType: 0
LayerMask:
serializedVersion: 2
m_Bits: 0
PassNames: []
overrideMaterial: {fileID: 0}
overrideMaterialPassIndex: 0
overrideDepthState: 0
depthCompareFunction: 4
enableWrite: 1
stencilSettings:
overrideStencilState: 0
stencilReference: 0
stencilCompareFunction: 8
passOperation: 0
failOperation: 0
zFailOperation: 0
cameraSettings:
overrideCamera: 0
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0

m_Name: ToonRendererData
m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 3244698584681819116}
- {fileID: 5635291380013344654}
- {fileID: 7533261282113794405}
- {fileID: 3244698584681819116}
- {fileID: -7287018276066913751}
m_RendererFeatureMap: 1498fdd91f5b1a54ec2b2cef2b7c072d299240777c4fdf9a
m_RendererFeatureMap: ec2b2cef2b7c072d8e27842fa793344e65b1982039858b681498fdd91f5b1a54
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
shaders:
blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}

m_Bits: 4294967295
m_TransparentLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_Bits: 311
m_DefaultStencilState:
overrideStencilState: 0
stencilReference: 0

m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: CharacterBehind
m_Name: CharacterObstructed
passTag: CharacterBehind
passTag: CharacterObstructed
Event: 300
filterSettings:
RenderQueueType: 0

PassNames: []
overrideMaterial: {fileID: 0}
overrideMaterial: {fileID: 2100000, guid: eb537407156894419a7c1586107ced36, type: 2}
depthCompareFunction: 5
depthCompareFunction: 7
overrideStencilState: 0
stencilReference: 0
overrideStencilState: 1
stencilReference: 1
stencilCompareFunction: 8
passOperation: 0
failOperation: 0

restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !u!114 &5635291380013344654
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: CharacterUnobstructed
m_EditorClassIdentifier:
m_Active: 1
settings:
passTag: CharacterUnobstructed
Event: 300
filterSettings:
RenderQueueType: 0
LayerMask:
serializedVersion: 2
m_Bits: 512
PassNames: []
overrideMaterial: {fileID: 0}
overrideMaterialPassIndex: 0
overrideDepthState: 0
depthCompareFunction: 4
enableWrite: 1
stencilSettings:
overrideStencilState: 1
stencilReference: 0
stencilCompareFunction: 3
passOperation: 0
failOperation: 0
zFailOperation: 0
cameraSettings:
overrideCamera: 0
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !u!114 &6060256440939812884
MonoBehaviour:
m_ObjectHideFlags: 0

m_Name: DepthNormalsFeature
m_EditorClassIdentifier:
m_Active: 1
--- !u!114 &7533261282113794405
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: CharacterUnobstructedTransp
m_EditorClassIdentifier:
m_Active: 1
settings:
passTag: CharacterUnobstructedTransp
Event: 500
filterSettings:
RenderQueueType: 1
LayerMask:
serializedVersion: 2
m_Bits: 512
PassNames: []
overrideMaterial: {fileID: 0}
overrideMaterialPassIndex: 0
overrideDepthState: 0
depthCompareFunction: 4
enableWrite: 1
stencilSettings:
overrideStencilState: 1
stencilReference: 0
stencilCompareFunction: 8
passOperation: 0
failOperation: 0
zFailOperation: 0
cameraSettings:
overrideCamera: 0
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60

97
UOP1_Project/Assets/Art/Materials/ObstructedCharacters_Dither.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-4129083025992012147
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 2
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ObstructedCharacters_Dither
m_Shader: {fileID: -6465566751694194690, guid: 26ba720368b6c4049aaaf8e5e64ce9a1,
type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
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}
- _EmissionMap:
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}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_63C376FD: 0.65
- _AlphaClip: 0
- _AlphaClipTreshold: 0.65
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _SampleGI: 0
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- Color_82A5AC39: {r: 0, g: 0, b: 0, a: 0}
- _BaseColor: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 0.30588236}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tint: {r: 0, g: 0, b: 0, a: 0}
- _TintColor: {r: 0.21698111, g: 0.21698111, b: 0.21698111, a: 0}

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

90
UOP1_Project/Assets/Materials/Character_Behind.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-4129083025992012147
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 2
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Character_Behind
m_Shader: {fileID: -6465566751694194690, guid: 26ba720368b6c4049aaaf8e5e64ce9a1,
type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
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}
- _EmissionMap:
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}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _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}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

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

/UOP1_Project/Assets/Shaders/Character_Behind.shadergraph.meta → /UOP1_Project/Assets/Shaders/ObstructedCharacter_Dither.shadergraph.meta

/UOP1_Project/Assets/Materials/Character_Behind.mat.meta → /UOP1_Project/Assets/Art/Materials/ObstructedCharacters_Dither.mat.meta

正在加载...
取消
保存