Tweak tree shaders to add depth and variation to foliage

This commit is contained in:
Lucien
2026-08-10 13:42:47 +02:00
parent 2027105d82
commit 6a6004b3c8
33 changed files with 8828 additions and 236 deletions
+215 -4
View File
@@ -4052,6 +4052,74 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 611d10df45937e3488274efb69a282b1, type: 3}
--- !u!1001 &416805615
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalPosition.x
value: 41.4
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.0000009536743
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalPosition.z
value: 65.3
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3531720047787283908, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5567650852612097363, guid: 5e5cf7d0025a7714088884d18e903eb6,
type: 3}
propertyPath: m_Name
value: Charme_05_2 (1)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5e5cf7d0025a7714088884d18e903eb6, type: 3}
--- !u!1001 &663218653
PrefabInstance:
m_ObjectHideFlags: 0
@@ -4136,7 +4204,7 @@ PrefabInstance:
- target: {fileID: 8005342345338010930, guid: c7b6425bc6dafae4c8a6a05f9b0de538,
type: 3}
propertyPath: m_LocalPosition.x
value: 58.67
value: 59.3
objectReference: {fileID: 0}
- target: {fileID: 8005342345338010930, guid: c7b6425bc6dafae4c8a6a05f9b0de538,
type: 3}
@@ -4146,7 +4214,7 @@ PrefabInstance:
- target: {fileID: 8005342345338010930, guid: c7b6425bc6dafae4c8a6a05f9b0de538,
type: 3}
propertyPath: m_LocalPosition.z
value: -14.6
value: -9.8
objectReference: {fileID: 0}
- target: {fileID: 8005342345338010930, guid: c7b6425bc6dafae4c8a6a05f9b0de538,
type: 3}
@@ -5008,6 +5076,79 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 37d633121586e74408fba01717db1c4e, type: 3}
--- !u!114 &1279703063
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: 6751c6668ce8047e5bcc50f8586c1fe7, type: 3}
m_Name: New Umbra Profile
m_EditorClassIdentifier:
shadowSource: 1
sampleCount: 16
earlyOutSamples: 32
lightSize: 6
enableContactHardening: 1
contactStrength: 0.5
contactStrengthKnee: 0.0001
distantSpread: 1
occludersCount: 8
occludersSearchRadius: 8
blurIterations: 0
blurType: 10
blurSpread: 1
blurEdgeSharpness: 0
blurEdgeTolerance: 5
blurDepthAttenStart: 50
blurDepthAttenLength: 50
blurGrazingAttenuation: 0
blendCascades: 0
posterization: 1
cascade1BlendingStrength: 0.1
cascade2BlendingStrength: 0.1
cascade3BlendingStrength: 0.1
cascade1Scale: 1
cascade2Scale: 1
cascade3Scale: 1
cascade4Scale: 1
normalsSource: 0
loopStepOptimization: 0
frameSkipOptimization: 0
skipFrameMaxCameraDisplacement: 0.1
skipFrameMaxCameraRotation: 5
downsample: 0
forceDepthPrepass: 0
preserveEdges: 1
style: 0
maskTexture: {fileID: 0}
maskScale: 1
contactShadows: 0
contactShadowsIntensityMultiplier: 0.85
contactShadowsInjectionPoint: 0
contactShadowsSampleCount: 16
contactShadowsStepping: 0.01
contactShadowsThicknessNear: 0.5
contactShadowsThicknessDistanceMultiplier: 0
contactShadowsJitter: 0.3
contactShadowsDistanceFade: 0.75
contactShadowsStartDistance: 0
contactShadowsStartDistanceFade: 0.01
contactShadowsNormalBias: 0.1
contactShadowsVignetteSize: 0.15
contactShadowsBias: 0.001
contactShadowsBiasFar: 0.4
contactShadowsEdgeSoftness: 0.1
contactShadowsSoftEdges: 0
contactShadowsPlanarShadows: 0
overlayShadows: 0
overlayShadowsIntensity: 0.5
overlayShadowsColor: {r: 0, g: 0, b: 0, a: 1}
transparentReceiverPlane: 0
receiverPlaneAltitude: 0
--- !u!1001 &1367723846
PrefabInstance:
m_ObjectHideFlags: 0
@@ -5280,6 +5421,74 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 53085bf5b34f202498e15ea10c8a544e, type: 3}
--- !u!1001 &1817651646
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalPosition.x
value: 24.5
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.0000019073486
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalPosition.z
value: 64.1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29,
type: 3}
propertyPath: m_Name
value: Charme_05_02
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3ac4bee11e4d5ff468fd7cdb9c5bda29, type: 3}
--- !u!1001 &1824572171
PrefabInstance:
m_ObjectHideFlags: 0
@@ -5448,8 +5657,8 @@ Transform:
m_GameObject: {fileID: 1854061398}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 22.997, y: 0, z: -32.7604}
m_LocalScale: {x: 9.598998, y: 5, z: 13.5641575}
m_LocalPosition: {x: 22.997, y: 0, z: -8.8393}
m_LocalScale: {x: 9.598998, y: 5, z: 18.349096}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
@@ -7049,6 +7258,7 @@ SceneRoots:
- {fileID: 1767724745}
- {fileID: 993386924}
- {fileID: 882668979}
- {fileID: 416805615}
- {fileID: 1993002146}
- {fileID: 2408047370634908131}
- {fileID: 556081418538553375}
@@ -7078,3 +7288,4 @@ SceneRoots:
- {fileID: 812047254129388972}
- {fileID: 7758555459991432076}
- {fileID: 5038288104899085982}
- {fileID: 1817651646}