Setup lighting (GI, AO)

This commit is contained in:
admin committed 2026-07-07 13:28:49 +02:00
1 parent d056207884
commit b74123188b
13 files changed
+841 -55

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ MonoBehaviour:
m_ShadowCascadeCount: 4
m_Cascade2Split: 0.25
m_Cascade3Split: {x: 0.1, y: 0.3}
m_Cascade4Split: {x: 0.105, y: 0.262, z: 0.5}
m_Cascade4Split: {x: 0.16637196, y: 0.3727101, z: 0.64320123}
m_CascadeBorder: 0
m_ShadowDepthBias: 0.1
m_ShadowNormalBias: 0.5
+34 -19
View File
@@ -1,5 +1,32 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-113243848881436404
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: d838efc3f4a3bf84b9925b7da1b23a35, type: 3}
m_Name: HTrace Ambient Occlusion
m_EditorClassIdentifier: HTraceAO.Rendering::HTraceAO.Rendering.URP.Infrastructure.HTraceAORendererFeature
m_Active: 1
m_Settings:
AOMethod: 0
Downsample: 0
AfterOpaque: 0
Source: 1
NormalSamples: 1
Intensity: 3
DirectLightingStrength: 0.25
Radius: 0.035
Samples: 1
BlurQuality: 0
Falloff: 100
SampleCount: -1
UseVolumes: 0
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -25,9 +52,10 @@ MonoBehaviour:
probeSamplingDebugTexture: {fileID: 2800000, guid: 24ec0e140fb444a44ab96ee80844e18e, type: 3}
probeVolumeBlendStatesCS: {fileID: 7200000, guid: b9a23f869c4fd45f19c5ada54dd82176, type: 3}
m_RendererFeatures:
- {fileID: 7833122117494664109}
- {fileID: 6245067092740157231}
m_RendererFeatureMap: ad6b866f10d7b46c2f2f42dd6eefaa56
- {fileID: 6568133994623751083}
- {fileID: -113243848881436404}
m_RendererFeatureMap: 2f2f42dd6eefaa56
m_UseNativeRenderPass: 1
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
m_AssetVersion: 3
@@ -98,7 +126,7 @@ MonoBehaviour:
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !u!114 &7833122117494664109
--- !u!114 &6568133994623751083
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -107,20 +135,7 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f62c9c65cf3354c93be831c8bc075510, type: 3}
m_Name: ScreenSpaceAmbientOcclusion
m_EditorClassIdentifier:
m_Script: {fileID: 11500000, guid: 94e17f564a7acaf43aa4f96d678cbd0f, type: 3}
m_Name: HTrace World Space Global Illumination
m_EditorClassIdentifier: HTraceWSGI::HTraceWSGI.Scripts.Infrastructure.URP.HTraceWSGIRendererFeature
m_Active: 1
m_Settings:
AOMethod: 1
Downsample: 0
AfterOpaque: 0
Source: 1
NormalSamples: 1
Intensity: 0.35
DirectLightingStrength: 0.25
Radius: 0.125
Samples: 0
BlurQuality: 0
Falloff: 100
SampleCount: -1
+34 -5
View File
@@ -71,7 +71,7 @@ MonoBehaviour:
m_Value: {x: 0.5, y: 0.5}
intensity:
m_OverrideState: 1
m_Value: 0.1
m_Value: 0.12
smoothness:
m_OverrideState: 0
m_Value: 0.2
@@ -93,13 +93,13 @@ MonoBehaviour:
active: 1
lift:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: -0.018951265}
m_Value: {x: 1, y: 1, z: 1, w: -0.010575896}
gamma:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: 0.016845778}
m_Value: {x: 1, y: 1, z: 1, w: 0.11725345}
gain:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: 0.3011148}
m_Value: {x: 1, y: 1, z: 1, w: 0.13819152}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -114,6 +114,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
components:
- {fileID: 849379129802519247}
- {fileID: 5486779309537155362}
- {fileID: -2861522193539684274}
- {fileID: -7893295128165547882}
- {fileID: 7391319092446245454}
@@ -133,7 +134,7 @@ MonoBehaviour:
active: 1
mode:
m_OverrideState: 1
m_Value: 1
m_Value: 2
neutralHDRRangeReductionMode:
m_OverrideState: 0
m_Value: 2
@@ -158,6 +159,34 @@ MonoBehaviour:
maxNits:
m_OverrideState: 1
m_Value: 647
--- !u!114 &5486779309537155362
MonoBehaviour:
m_ObjectHideFlags: 3
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: 66f335fb1ffd8684294ad653bf1c7564, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ColorAdjustments
active: 1
postExposure:
m_OverrideState: 1
m_Value: 0.5
contrast:
m_OverrideState: 1
m_Value: -5
colorFilter:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hueShift:
m_OverrideState: 0
m_Value: 0
saturation:
m_OverrideState: 1
m_Value: 8
--- !u!114 &7391319092446245454
MonoBehaviour:
m_ObjectHideFlags: 3