浏览代码

Structure: Tweaking Asset Names and Setup

/demo-webinar-unitenow
andytouch 5 年前
当前提交
fec0e4c0
共有 18 个文件被更改,包括 79 次插入46 次删除
  1. 2
      Assets/Data/UniversalRP/PipelineAsset_High.asset
  2. 2
      Assets/Data/UniversalRP/CustomRenderer_Normal.asset
  3. 15
      Assets/Data/UniversalRP/CustomRenderer_GradientFog.asset
  4. 4
      Assets/Data/UniversalRP/CustomRenderer_Retro.asset
  5. 38
      Assets/scenes/demo_Island.unity
  6. 4
      Assets/_ScriptableRenderFeatures/SobelOutlinePass/Mat_Pass_OutlineSobel.mat
  7. 2
      Assets/_ScriptableRenderFeatures/RetroPass/Mat_Pass_Retro.mat
  8. 2
      Assets/_ScriptableRenderFeatures/RenderPasses/GradientFog.cs
  9. 54
      Assets/_ScriptableRenderFeatures/GradientFog/ShaderGraph_GradientFog.shadergraph
  10. 2
      ProjectSettings/QualitySettings.asset
  11. 0
      /Assets/Data/UniversalRP/CustomRenderer_Normal.asset.meta
  12. 0
      /Assets/Data/UniversalRP/CustomRenderer_GradientFog.asset.meta
  13. 0
      /Assets/Data/UniversalRP/CustomRenderer_Retro.asset.meta
  14. 0
      /Assets/Data/UniversalRP/CustomRenderer_Normal.asset
  15. 0
      /Assets/Data/UniversalRP/CustomRenderer_GradientFog.asset
  16. 0
      /Assets/Data/UniversalRP/CustomRenderer_Retro.asset
  17. 0
      /Assets/_ScriptableRenderFeatures.meta
  18. 0
      /Assets/_ScriptableRenderFeatures

2
Assets/Data/UniversalRP/PipelineAsset_High.asset


- {fileID: 11400000, guid: fa301df1a78cf4a9ebe2a3139dc8be8f, type: 2}
- {fileID: 11400000, guid: 74177b577927ace4798a79666640ab41, type: 2}
- {fileID: 11400000, guid: f06a214f7c2afa545ab1295a706adaa4, type: 2}
m_DefaultRendererIndex: 2
m_DefaultRendererIndex: 0
m_RequireDepthTexture: 1
m_RequireOpaqueTexture: 1
m_OpaqueDownsampling: 0

2
Assets/Data/UniversalRP/CustomRenderer_Normal.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
m_Name: BoatDemoRenderer
m_Name: CustomRenderer_Normal
m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 1493603568523985814}

15
Assets/Data/UniversalRP/CustomRenderer_GradientFog.asset


m_Active: 1
settings:
Event: 500
StartDistance: -8.7
EndDistance: 58
NearColor: {r: 0.42866677, g: 0.5183965, b: 0.5377358, a: 0.31764707}
MiddleColor: {r: 0.5566038, g: 0.42360774, b: 0.31243324, a: 0.72156864}
FarColor: {r: 0.40650585, g: 0.5703295, b: 0.8207547, a: 0.4117647}
StartDistance: -35.18
EndDistance: 133.7
NearColor: {r: 0.5372549, g: 0.47249356, b: 0.42745098, a: 1}
MiddleColor: {r: 0.9137255, g: 0.65379214, b: 0.30588236, a: 0.69411767}
FarColor: {r: 1, g: 0.8349056, b: 0.8349056, a: 0.5254902}
Fade: 1
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0

m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
m_Name: BoatGradientFogRenderer
m_Name: CustomRenderer_GradientFog
m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 1999314579490882026}

m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: adbe377f4f72c497faee64bc3f0580b9, type: 3}
m_Name: NewWaterSystemFeature
m_Name: WaterSystemFeature
m_EditorClassIdentifier:
m_Active: 1
settings:

4
Assets/Data/UniversalRP/CustomRenderer_Retro.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
m_Name: BoatRetroRenderer
m_Name: CustomRenderer_Retro
m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 4860357971611268930}

m_EditorClassIdentifier:
m_Active: 1
settings:
Event: 500
Event: 550
blitMaterial: {fileID: 2100000, guid: 03d7b241c3fee9946a8c70aa8ffc18f1, type: 2}
blitMaterialPassIndex: -1
destination: 0

38
Assets/scenes/demo_Island.unity


m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 1
m_FogColor: {r: 0.76313275, g: 1.0976774, b: 1.3763763, a: 1}
m_FogColor: {r: 0.8281835, g: 1.1824067, b: 1.4767486, a: 1}
m_FogMode: 3
m_FogDensity: 0.0025
m_LinearFogStart: 0

m_Script: {fileID: 11500000, guid: 30b50fc06dfa846f189e6a884ed7088f, type: 3}
m_Name:
m_EditorClassIdentifier:
time: 0.45
time: 0.486
autoIcrement: 0
speed: 1
_skybox: {fileID: 2100000, guid: e14f29569c2db49fdb0a5fd5b3e95b86, type: 2}

m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!114 &672498206
MonoBehaviour:
m_ObjectHideFlags: 0

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 672498205}
m_LocalRotation: {x: 0.013050183, y: 0.80751055, z: -0.018709857, w: 0.5894118}
m_LocalPosition: {x: -103.59747, y: 4.534314, z: 71.04256}
m_LocalRotation: {x: -0.0102370735, y: -0.96183985, z: 0.037943467, w: -0.27077618}
m_LocalPosition: {x: 6.890975, y: 9.113892, z: 106.539505}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1748439518}

- target: {fileID: 3374119446944087244, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.3409949
value: -0.33434147
value: 0.94006515
value: 0.942452
objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

- target: {fileID: 8115735017685696522, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.53654194
value: -0.58365107
value: -0.66060746
value: -0.6254395
value: 0.27422032
value: 0.3470222
value: -0.44779894
value: -0.38438585
objectReference: {fileID: 0}
- target: {fileID: 8367957410019747705, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: m_LocalPosition.x
value: -20.54939
value: 6.890975
value: 14
value: 9.113892
value: 49.590775
value: 106.539505
value: -0.037609365
value: -0.0102370735
value: 0.96143246
value: -0.96183985
value: -0.2132932
value: 0.037943467
value: -0.16952659
value: -0.27077618
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}

- target: {fileID: 7003470173341666315, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: field of view
value: 60
value: 50
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666315, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}

4
Assets/_ScriptableRenderFeatures/SobelOutlinePass/Mat_Pass_OutlineSobel.mat


m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _Delta: 0.000824
- _DepthIntensity: 668
- _Delta: 0.000955
- _DepthIntensity: 90
- _Raw: 0
- _Value: 0.4
m_Colors:

2
Assets/_ScriptableRenderFeatures/RetroPass/Mat_Pass_Retro.mat


m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_A02E52BC: 312
- Vector1_A02E52BC: 256
m_Colors: []

2
Assets/_ScriptableRenderFeatures/RenderPasses/GradientFog.cs


public Color NearColor = new Color(0, 0.2f, 0.35f, 1);
public Color MiddleColor = new Color(0.62f, 0.86f, 1, 1);
public Color FarColor = new Color(0.85f, 0.96f, 1, 1);
[Range(0, 1)] public float Fade = 0.5f;
}

fogMaterial.SetColor("_NearCol", settings.NearColor);
fogMaterial.SetColor("_MidCol", settings.MiddleColor);
fogMaterial.SetColor("_FarCol", settings.FarColor);
fogMaterial.SetFloat("_Fade", settings.Fade);
}
// This method is called before executing the render pass.

54
Assets/_ScriptableRenderFeatures/GradientFog/ShaderGraph_GradientFog.shadergraph
文件差异内容过多而无法显示
查看文件

2
ProjectSettings/QualitySettings.asset


skinWeights: 2
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
antiAliasing: 0
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1

/Assets/Data/UniversalRP/BoatDemoRenderer.asset.meta → /Assets/Data/UniversalRP/CustomRenderer_Normal.asset.meta

/Assets/Data/UniversalRP/BoatGradientFogRenderer.asset.meta → /Assets/Data/UniversalRP/CustomRenderer_GradientFog.asset.meta

/Assets/Data/UniversalRP/BoatRetroRenderer.asset.meta → /Assets/Data/UniversalRP/CustomRenderer_Retro.asset.meta

/Assets/Data/UniversalRP/BoatDemoRenderer.asset → /Assets/Data/UniversalRP/CustomRenderer_Normal.asset

/Assets/Data/UniversalRP/BoatGradientFogRenderer.asset → /Assets/Data/UniversalRP/CustomRenderer_GradientFog.asset

/Assets/Data/UniversalRP/BoatRetroRenderer.asset → /Assets/Data/UniversalRP/CustomRenderer_Retro.asset

/Assets/ScriptableRenderFeatures.meta → /Assets/_ScriptableRenderFeatures.meta

/Assets/ScriptableRenderFeatures → /Assets/_ScriptableRenderFeatures

正在加载...
取消
保存