浏览代码

convert UI materials to use shadergraph

/2020.3-fix-ui
RemyUnity 3 年前
当前提交
d26c63f3
共有 15 个文件被更改,包括 2935 次插入7384 次删除
  1. 1001
      Assets/Prefabs/InfoPanels/Asset Selection.prefab
  2. 1001
      Assets/Prefabs/InfoPanels/Detail.prefab
  3. 1001
      Assets/Prefabs/InfoPanels/Equipment.prefab
  4. 1001
      Assets/Prefabs/InfoPanels/Foliage.prefab
  5. 1001
      Assets/Prefabs/InfoPanels/LayeredShader_01.prefab
  6. 1001
      Assets/Prefabs/InfoPanels/LayeredShader_02.prefab
  7. 1001
      Assets/Prefabs/InfoPanels/SmallObject.prefab
  8. 1001
      Assets/Prefabs/InfoPanels/Surface.prefab
  9. 1001
      Assets/Prefabs/InfoPanels/Where.prefab
  10. 96
      Assets/UI/Fonts/FontMaterial_RobotoBold.mat
  11. 94
      Assets/UI/Fonts/FontMaterial_RobotoLight.mat
  12. 94
      Assets/UI/Materials/Panel.mat
  13. 15
      Assets/UI/SceneAR/InfoIcon.mat
  14. 1001
      Assets/UI/Shaders/UI.shadergraph
  15. 10
      Assets/UI/Shaders/UI.shadergraph.meta

1001
Assets/Prefabs/InfoPanels/Asset Selection.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/Detail.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/Equipment.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/Foliage.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/LayeredShader_01.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/LayeredShader_02.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/SmallObject.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/Surface.prefab
文件差异内容过多而无法显示
查看文件

1001
Assets/Prefabs/InfoPanels/Where.prefab
文件差异内容过多而无法显示
查看文件

96
Assets/UI/Fonts/FontMaterial_RobotoBold.mat


Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Shader: {fileID: 4800000, guid: 99872da6e40325c419a22a1e60e027a0, type: 3}
m_ShaderKeywords: _ALPHACUTOFFENABLE_OFF
m_Shader: {fileID: -6465566751694194690, guid: 3f1ece91ad99604479551c184c5f6846,
type: 3}
m_ShaderKeywords: _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT _TRANSPARENT_WRITES_MOTION_VEC
m_CustomRenderQueue: 3002
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2750
MotionVector: User
disabledShaderPasses: []
disabledShaderPasses:
- TransparentDepthPrepass
- TransparentDepthPostpass
- TransparentBackface
- MOTIONVECTORS
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:

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}
- _AddPrecomputedVelocity: 0
- _AlphaDstBlend: 10
- _AlphaSrcBlend: 1
- _AlphaToMask: 0
- _AlphaToMaskInspectorValue: 0
- _BlendTextureColor: 0
- _ColorMask: 15
- _Cutoff: 0.5
- _CullModeForward: 2
- _Cutoff: 0.3333
- _DepthOffsetEnable: 0
- _DoubleSidedEnable: 0
- _DoubleSidedNormalMode: 2
- _EnableBlendModePreserveSpecularLighting: 0
- _EnableFogOnTransparent: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1

- _OpaqueCullMode: 2
- _RenderQueueType: 3
- _SrcBlend: 5
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilRef: 0
- _StencilRefDepth: 0
- _StencilRefDistortionVec: 4
- _StencilRefGBuffer: 2
- _StencilRefMV: 32
- _StencilWriteMask: 6
- _StencilWriteMaskDepth: 8
- _StencilWriteMaskDistortionVec: 4
- _StencilWriteMaskGBuffer: 14
- _StencilWriteMaskMV: 40
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
- _TransparentDepthPrepassEnable: 0
- _TransparentSortPriority: 0
- _TransparentWritingMotionVec: 1
- _TransparentZWrite: 1
- _UseShadowThreshold: 0
- _UseUIAlphaClip: 0
- _ZTestDepthEqualForOpaque: 4
- _ZTestGBuffer: 4
- _ZWrite: 0
- _ZTestTransparent: 4
- _ZWrite: 1
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!114 &2739872312196857517
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: da692e001514ec24dbc4cca1949ff7e8, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 11

94
Assets/UI/Fonts/FontMaterial_RobotoLight.mat


Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Shader: {fileID: 4800000, guid: 99872da6e40325c419a22a1e60e027a0, type: 3}
m_ShaderKeywords: _ALPHACUTOFFENABLE_OFF
m_Shader: {fileID: -6465566751694194690, guid: 3f1ece91ad99604479551c184c5f6846,
type: 3}
m_ShaderKeywords: _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT
m_CustomRenderQueue: 3002
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2750
MotionVector: User
disabledShaderPasses: []
disabledShaderPasses:
- TransparentDepthPrepass
- TransparentDepthPostpass
- TransparentBackface
- MOTIONVECTORS
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:

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}
- _AddPrecomputedVelocity: 0
- _AlphaDstBlend: 10
- _AlphaSrcBlend: 1
- _AlphaToMask: 0
- _AlphaToMaskInspectorValue: 0
- _BlendTextureColor: 0
- _ColorMask: 15
- _Cutoff: 0.5
- _CullModeForward: 2
- _Cutoff: 0.3
- _DepthOffsetEnable: 0
- _DoubleSidedEnable: 0
- _DoubleSidedNormalMode: 2
- _EnableBlendModePreserveSpecularLighting: 0
- _EnableFogOnTransparent: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1

- _OpaqueCullMode: 2
- _RenderQueueType: 3
- _SrcBlend: 5
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilRef: 0
- _StencilRefDepth: 0
- _StencilRefDistortionVec: 4
- _StencilRefGBuffer: 2
- _StencilRefMV: 32
- _StencilWriteMask: 6
- _StencilWriteMaskDepth: 8
- _StencilWriteMaskDistortionVec: 4
- _StencilWriteMaskGBuffer: 14
- _StencilWriteMaskMV: 40
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
- _TransparentDepthPrepassEnable: 0
- _TransparentSortPriority: 0
- _TransparentWritingMotionVec: 0
- _TransparentZWrite: 0
- _UseShadowThreshold: 0
- _UseUIAlphaClip: 0
- _ZTestDepthEqualForOpaque: 4
- _ZTestGBuffer: 4
- _ZTestTransparent: 4
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!114 &7696212363885933744
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: da692e001514ec24dbc4cca1949ff7e8, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 11

94
Assets/UI/Materials/Panel.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2123778360854022618
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: da692e001514ec24dbc4cca1949ff7e8, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 11
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Shader: {fileID: 4800000, guid: d9eb4ec48668e964394437893416f9d9, type: 3}
m_ShaderKeywords: _ALPHACUTOFFENABLE_OFF
m_Shader: {fileID: -6465566751694194690, guid: 3f1ece91ad99604479551c184c5f6846,
type: 3}
m_ShaderKeywords: _ALPHATEST_ON _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT
m_CustomRenderQueue: 3001
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2750
MotionVector: User
disabledShaderPasses: []
disabledShaderPasses:
- TransparentDepthPrepass
- TransparentDepthPostpass
- TransparentBackface
- MOTIONVECTORS
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:

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}
- _AddPrecomputedVelocity: 0
- _AlphaCutoffEnable: 0
- _AlphaCutoffEnable: 1
- _AlphaDstBlend: 10
- _AlphaSrcBlend: 1
- _AlphaToMask: 0
- _AlphaToMaskInspectorValue: 0
- _BlendTextureColor: 1
- _ColorMask: 15
- _CullModeForward: 2
- _DepthOffsetEnable: 0
- _DoubleSidedEnable: 0
- _DoubleSidedNormalMode: 2
- _EnableBlendModePreserveSpecularLighting: 0
- _EnableFogOnTransparent: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1

- _OpaqueCullMode: 2
- _RenderQueueType: 3
- _SrcBlend: 5
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilRef: 0
- _StencilRefDepth: 0
- _StencilRefDistortionVec: 4
- _StencilRefGBuffer: 2
- _StencilRefMV: 32
- _StencilWriteMask: 6
- _StencilWriteMaskDepth: 8
- _StencilWriteMaskDistortionVec: 4
- _StencilWriteMaskGBuffer: 14
- _StencilWriteMaskMV: 40
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
- _TransparentDepthPrepassEnable: 0
- _TransparentSortPriority: 0
- _TransparentWritingMotionVec: 0
- _TransparentZWrite: 0
- _UseShadowThreshold: 0
- _UseUIAlphaClip: 0
- _ZTestDepthEqualForOpaque: 4
- _ZTestGBuffer: 3
- _ZTestTransparent: 4
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []

15
Assets/UI/SceneAR/InfoIcon.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: InfoIcon
m_Shader: {fileID: 4800000, guid: d9eb4ec48668e964394437893416f9d9, type: 3}
m_Shader: {fileID: 10760, guid: 0000000000000000f000000000000000, type: 0}
m_CustomRenderQueue: 3001
stringTagMap:
RenderType: Transparent
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3

- _AlphaCutoffEnable: 0
- _BlendMode: 0
- _BumpScale: 1
- _ColorMask: 15
- _CullMode: 2
- _Cutoff: 0.5
- _DetailNormalMapScale: 1

- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_BuildTextureStacks: []

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

10
Assets/UI/Shaders/UI.shadergraph.meta


fileFormatVersion: 2
guid: 3f1ece91ad99604479551c184c5f6846
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
正在加载...
取消
保存