浏览代码

Added a cartoon water shader and material

/main
Dickmendra 4 年前
当前提交
647b64bd
共有 8 个文件被更改,包括 535 次插入9 次删除
  1. 96
      UOP1_Project/Assets/Scenes/ArtShowcase.unity
  2. 8
      UOP1_Project/Assets/Shaders/ToonWater.meta
  3. 34
      UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.mat
  4. 8
      UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.mat.meta
  5. 380
      UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.shadergraph
  6. 10
      UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.shadergraph.meta
  7. 8
      UOP1_Project/Assets/Scenes/ArtShowcase.meta

96
UOP1_Project/Assets/Scenes/ArtShowcase.unity


m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.13176303, g: 0.30831417, b: 0.58549386, a: 1}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

- {fileID: 5183601774858770087}
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1688336519
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1688336523}
- component: {fileID: 1688336522}
- component: {fileID: 1688336521}
- component: {fileID: 1688336520}
m_Layer: 0
m_Name: Water
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!64 &1688336520
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1688336519}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &1688336521
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1688336519}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 8df78a7eb4ae46542b9b31c8deec377f, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &1688336522
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1688336519}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &1688336523
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1688336519}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -5.02, y: 0.18, z: 5.06}
m_LocalScale: {x: 0.3, y: 0.3, z: 0.3}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1829969738
GameObject:

8
UOP1_Project/Assets/Shaders/ToonWater.meta


fileFormatVersion: 2
guid: 32a9bd2c5c070704ead20053fb50ab3e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

34
UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CartoonWater
m_Shader: {fileID: -6465566751694194690, guid: 645ecdab619ec8747bd9e32c7cb90196,
type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Floats:
- Vector1_111BDCE3: 5
- Vector1_2402C92B: 0.35
- Vector1_4AA7864F: 1
- Vector1_87D2A26: 3
- Vector1_8E7602E9: 0.8
- Vector1_B7E59C0B: 0.1
- Vector1_C32CC451: 0.7
- Vector1_EB584745: 15
m_Colors:
- Color_42D50580: {r: 0, g: 0.7082206, b: 0.90588236, a: 0}
- Color_B067A587: {r: 0.6632792, g: 1.4401618, b: 1.9804953, a: 0}

8
UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.mat.meta


fileFormatVersion: 2
guid: 8df78a7eb4ae46542b9b31c8deec377f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

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

10
UOP1_Project/Assets/Shaders/ToonWater/CartoonWater.shadergraph.meta


fileFormatVersion: 2
guid: 645ecdab619ec8747bd9e32c7cb90196
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

8
UOP1_Project/Assets/Scenes/ArtShowcase.meta


fileFormatVersion: 2
guid: f51c26e4f4d3e274db068eb09f7f7adc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存