浏览代码

Minor tweaks

- Updated vegetation shader graph to use half
- Changed camera to follow cam
/main
André McGrail 6 年前
当前提交
0669fac0
共有 6 个文件被更改,包括 78 次插入61 次删除
  1. 1
      Assets/Objects/environment/Trees/Materials/Trees.mat
  2. 94
      Assets/Shaders/Graphs/Vegetation.shadergraph
  3. 18
      Assets/scenes/Island.unity
  4. 15
      ProjectSettings/EditorBuildSettings.asset
  5. 5
      ProjectSettings/GraphicsSettings.asset
  6. 6
      ProjectSettings/ProjectSettings.asset

1
Assets/Objects/environment/Trees/Materials/Trees.mat


m_Offset: {x: 0, y: 0}
m_Floats:
- BOOLEAN_D0D03BFD: 1
- Boolean_F799EE7C: 1
- VERTEX_ANIMATION: 1
- Vector1_19FBDA45: 0.5
- Vector1_4F6BB00E: 0.5

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

18
Assets/scenes/Island.unity


- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 10
m_Priority: 5
m_StandbyUpdate: 2
m_LookAt: {fileID: 1066609277}
m_Follow: {fileID: 1066609277}

objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 074aa8ca109924e18baf19f3e26665b6, type: 3}
propertyPath: m_LocalPosition.z
value: -25
value: -12.5
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 074aa8ca109924e18baf19f3e26665b6, type: 3}
propertyPath: m_LocalRotation.x

width: 1
height: 1
near clip plane: 0.1
far clip plane: 500
field of view: 60
far clip plane: 350
field of view: 80
orthographic: 0
orthographic size: 10
m_Depth: -5

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1017609894}
m_LocalRotation: {x: 0.16890061, y: -0.81706506, z: 0.3275648, w: 0.44337186}
m_LocalPosition: {x: -77.74759, y: 8.297212, z: -21.408878}
m_LocalRotation: {x: 0.009573031, y: 0.9497188, z: -0.029177096, w: 0.31159484}
m_LocalPosition: {x: -88.44125, y: 2, z: -10.416151}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 208737146}

m_Name:
m_EditorClassIdentifier:
m_settings:
m_ResolutionMultiplier: 3
m_ResolutionMultiplier: 2
m_ClipPlaneOffset: -0.104
m_ReflectLayers:
serializedVersion: 2

- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 5
m_Priority: 10
m_StandbyUpdate: 2
m_LookAt: {fileID: 597900507}
m_Follow: {fileID: 597900507}

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1973407761}
m_LocalRotation: {x: -0.057876512, y: 0.3076704, z: -0.018753057, w: -0.94954604}
m_LocalRotation: {x: -0.05787651, y: 0.3076704, z: -0.018753057, w: -0.94954604}
m_LocalPosition: {x: -78.2276, y: 1.1, z: -34.651066}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:

15
ProjectSettings/EditorBuildSettings.asset


m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 0
path: Assets/Scenes/MainMenu.unity
guid: c817c1b09586c49e5b4a849ce1cf119b
- enabled: 0
path: Assets/Scenes/Testing/InfiniteWater.unity
guid: a4f30a5533dd641a082edd674898ac23
- enabled: 0
path: Assets/Scenes/Testing/Water.unity
guid: 3ec7517bb458ebc449f7ad88104046da
- enabled: 0
path: Assets/Scenes/Testing/WaterPerf.unity
guid: 2537cd0765fecf0439b7d67b03a746e1
- enabled: 0
path: Assets/Scenes/Testing/meshSetups.unity
guid: 155735d9e915762488521091e2976259
m_configObjects: {}

5
ProjectSettings/GraphicsSettings.asset


--- !u!30 &1
GraphicsSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
serializedVersion: 13
m_Deferred:
m_Mode: 1
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}

- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}

m_LightsUseLinearIntensity: 1
m_LightsUseColorTemperature: 0
m_LogWhenShaderIsCompiled: 0
m_AllowEnlightenSupportForUpgradedProject: 1

6
ProjectSettings/ProjectSettings.asset


AndroidProfiler: 0
AndroidFilterTouchesWhenObscured: 0
AndroidEnableSustainedPerformanceMode: 0
defaultScreenOrientation: 2
defaultScreenOrientation: 3
targetDevice: 2
useOnDemandResources: 0
accelerometerFrequency: 0

allowedAutorotateToLandscapeRight: 1
allowedAutorotateToLandscapeLeft: 1
useOSAutorotation: 1
use32BitDisplayBuffer: 1
use32BitDisplayBuffer: 0
disableDepthAndStencilBuffers: 1
disableDepthAndStencilBuffers: 0
androidStartInFullscreen: 1
androidRenderOutsideSafeArea: 0
androidUseSwappy: 0

正在加载...
取消
保存