Fix dissolve shader

This commit is contained in:
r.nikolin 2023-10-17 16:09:53 +03:00
parent 70532038ea
commit 8247f94735
4 changed files with 280 additions and 125 deletions

View File

@ -16,7 +16,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &9137975359706703023
Transform:
m_ObjectHideFlags: 0
@ -119,6 +119,7 @@ Transform:
- {fileID: 9027889519819089750}
- {fileID: 5145598549098378746}
- {fileID: 9137975359706703023}
- {fileID: 2648151155607866915}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: -4.015, y: 82.478, z: 24.363}
@ -297,6 +298,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e0b87dc15c39dc746910256002341c33, type: 3}
m_Name:
m_EditorClassIdentifier:
_wheel: {fileID: 0}
--- !u!1 &9027889519819089751
GameObject:
m_ObjectHideFlags: 0
@ -388,6 +390,101 @@ MonoBehaviour:
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 2
m_PresetInfoIsWorld: 1
--- !u!1001 &2543027524891404744
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 9027889519720641280}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalScale.x
value: 19.915009
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalScale.y
value: 19.914999
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalScale.z
value: 19.915009
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.00000056624407
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.000000029802319
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalRotation.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.000000052154057
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -180
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 302993c8c1ad41b4dadef7e948021338, type: 2}
- target: {fileID: 919132149155446097, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
propertyPath: m_Name
value: finish_plane
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a9d571e55fa83e341b8f4a622bab3bc0, type: 3}
--- !u!4 &2648151155607866915 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a9d571e55fa83e341b8f4a622bab3bc0,
type: 3}
m_PrefabInstance: {fileID: 2543027524891404744}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5458133831166232630
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -26550,7 +26550,7 @@ PrefabInstance:
- target: {fileID: 58057252862167154, guid: 9069c86c178f3fa4eaf02c85a5a52483,
type: 3}
propertyPath: m_Value
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 148239936597742439, guid: 9069c86c178f3fa4eaf02c85a5a52483,
type: 3}

View File

@ -224,13 +224,13 @@ Material:
- _DisplacementLockObjectScale: 1
- _DisplacementLockTilingScale: 1
- _DisplacementMode: 0
- _Dissolve: 0.436
- _Dissolve: 0
- _DoubleSidedEnable: 0
- _DoubleSidedGIMode: 0
- _DoubleSidedNormalMode: 1
- _DstBlend: 0
- _EdgeColorIntensity: 1
- _EdgeWidth: 0.099
- _EdgeColorIntensity: 30000
- _EdgeWidth: 0.103
- _EmissiveColorMode: 1
- _EmissiveExposureWeight: 1
- _EmissiveIntensity: 80000
@ -332,7 +332,7 @@ Material:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
- _EdgeColor: {r: 0, g: 3.9999995, b: 0.18234919, a: 0.93333334}
- _EdgeColor: {r: 0, g: 3.9999995, b: 0.18234919, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _EmissiveColor: {r: 80000, g: 80000, b: 80000, a: 80000}
- _EmissiveColorLDR: {r: 1, g: 1, b: 1, a: 1}

View File

@ -13,41 +13,39 @@ MonoBehaviour:
m_Name: MotionBlur
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
quality:
m_OverrideState: 1
m_Value: 1
intensity:
m_OverrideState: 1
m_Value: 0.5
min: 0
maximumVelocity:
m_OverrideState: 0
m_Value: 200
min: 0
max: 1500
minimumVelocity:
m_OverrideState: 0
m_Value: 2
min: 0
max: 64
cameraRotationVelocityClamp:
m_OverrideState: 0
m_Value: 0.03
min: 0
max: 0.2
depthComparisonExtent:
m_OverrideState: 0
m_Value: 1
min: 0
max: 20
cameraMotionBlur:
m_OverrideState: 0
m_Value: 1
m_SampleCount:
specialCameraClampMode:
m_OverrideState: 0
m_Value: 0
cameraVelocityClamp:
m_OverrideState: 0
m_Value: 0.05
cameraTranslationVelocityClamp:
m_OverrideState: 0
m_Value: 0.05
cameraRotationVelocityClamp:
m_OverrideState: 0
m_Value: 0.03
depthComparisonExtent:
m_OverrideState: 0
m_Value: 1
m_SampleCount:
m_OverrideState: 1
m_Value: 8
min: 2
--- !u!114 &-1016694868962581565
MonoBehaviour:
m_ObjectHideFlags: 3
@ -61,7 +59,6 @@ MonoBehaviour:
m_Name: ContactShadows
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
quality:
m_OverrideState: 0
m_Value: 1
@ -71,39 +68,33 @@ MonoBehaviour:
length:
m_OverrideState: 0
m_Value: 0.15
min: 0
max: 1
opacity:
m_OverrideState: 0
m_Value: 1
min: 0
max: 1
distanceScaleFactor:
m_OverrideState: 0
m_Value: 0.5
min: 0
max: 1
maxDistance:
m_OverrideState: 0
m_Value: 50
min: 0
minDistance:
m_OverrideState: 0
m_Value: 0
min: 0
fadeDistance:
m_OverrideState: 0
m_Value: 5
min: 0
fadeInDistance:
m_OverrideState: 0
m_Value: 0
min: 0
rayBias:
m_OverrideState: 0
m_Value: 0.2
thicknessScale:
m_OverrideState: 0
m_Value: 0.15
m_SampleCount:
m_OverrideState: 1
m_Value: 12
min: 4
max: 64
m_OverrideState: 0
m_Value: 10
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@ -139,12 +130,9 @@ MonoBehaviour:
m_Name: HDRISky
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
rotation:
m_OverrideState: 0
m_Value: 0
min: 0
max: 360
skyIntensityMode:
m_OverrideState: 0
m_Value: 0
@ -154,13 +142,11 @@ MonoBehaviour:
multiplier:
m_OverrideState: 0
m_Value: 1
min: 0
upperHemisphereLuxValue:
m_OverrideState: 0
m_OverrideState: 1
m_Value: 0.46608552
min: 0
upperHemisphereLuxColor:
m_OverrideState: 0
m_OverrideState: 1
m_Value: {x: 0, y: 0, z: 0}
desiredLuxValue:
m_OverrideState: 0
@ -171,13 +157,35 @@ MonoBehaviour:
updatePeriod:
m_OverrideState: 0
m_Value: 0
min: 0
includeSunInBaking:
m_OverrideState: 0
m_Value: 0
hdriSky:
m_OverrideState: 1
m_Value: {fileID: 8900000, guid: 54a3a0570aebe8949bec4966f1376581, type: 3}
distortionMode:
m_OverrideState: 0
m_Value: 0
flowmap:
m_OverrideState: 0
m_Value: {fileID: 0}
upperHemisphereOnly:
m_OverrideState: 0
m_Value: 1
scrollOrientation:
m_OverrideState: 0
m_Value:
mode: 1
customValue: 0
additiveValue: 0
multiplyValue: 1
scrollSpeed:
m_OverrideState: 0
m_Value:
mode: 1
customValue: 100
additiveValue: 0
multiplyValue: 1
enableBackplate:
m_OverrideState: 0
m_Value: 0
@ -193,31 +201,21 @@ MonoBehaviour:
projectionDistance:
m_OverrideState: 0
m_Value: 16
min: 0.0000001
plateRotation:
m_OverrideState: 0
m_Value: 0
min: 0
max: 360
plateTexRotation:
m_OverrideState: 0
m_Value: 0
min: 0
max: 360
plateTexOffset:
m_OverrideState: 0
m_Value: {x: 0, y: 0}
blendAmount:
m_OverrideState: 0
m_Value: 0
min: 0
max: 100
shadowTint:
m_OverrideState: 0
m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1}
hdr: 0
showAlpha: 1
showEyeDropper: 1
pointLightShadow:
m_OverrideState: 0
m_Value: 0
@ -227,6 +225,19 @@ MonoBehaviour:
rectLightShadow:
m_OverrideState: 0
m_Value: 0
m_SkyVersion: 1
enableDistortion:
m_OverrideState: 0
m_Value: 0
procedural:
m_OverrideState: 0
m_Value: 1
scrollDirection:
m_OverrideState: 0
m_Value: 0
m_ObsoleteScrollSpeed:
m_OverrideState: 0
m_Value: 1
--- !u!114 &1501199423866068322
MonoBehaviour:
m_ObjectHideFlags: 3
@ -240,45 +251,38 @@ MonoBehaviour:
m_Name: Bloom
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
quality:
m_OverrideState: 1
m_Value: 1
threshold:
m_OverrideState: 1
m_Value: 0.5
min: 0
intensity:
m_OverrideState: 1
m_Value: 0.4
min: 0
max: 1
scatter:
m_OverrideState: 0
m_Value: 0.7
min: 0
max: 1
tint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hdr: 0
showAlpha: 0
showEyeDropper: 1
dirtTexture:
m_OverrideState: 0
m_Value: {fileID: 0}
dirtIntensity:
m_OverrideState: 0
m_Value: 0
min: 0
anamorphic:
m_OverrideState: 0
m_Value: 1
m_Resolution:
m_OverrideState: 0
m_OverrideState: 1
m_Value: 2
m_HighQualityPrefiltering:
m_OverrideState: 1
m_Value: 0
m_HighQualityFiltering:
m_OverrideState: 0
m_OverrideState: 1
m_Value: 1
--- !u!114 &1932259527246508038
MonoBehaviour:
@ -293,13 +297,21 @@ MonoBehaviour:
m_Name: VisualEnvironment
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
skyType:
m_OverrideState: 1
m_Value: 1
cloudType:
m_OverrideState: 0
m_Value: 0
skyAmbientMode:
m_OverrideState: 0
m_Value: 0
windOrientation:
m_OverrideState: 0
m_Value: 0
windSpeed:
m_OverrideState: 0
m_Value: 100
fogType:
m_OverrideState: 0
m_Value: 0
@ -316,7 +328,6 @@ MonoBehaviour:
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 0
@ -364,17 +375,97 @@ MonoBehaviour:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
limitMinCurveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -12
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 18
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
limitMaxCurveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -8
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 22
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001
weightTextureMask:
m_OverrideState: 0
m_Value: {fileID: 0}
histogramPercentages:
m_OverrideState: 0
m_Value: {x: 40, y: 90}
histogramUseCurveRemapping:
m_OverrideState: 0
m_Value: 0
targetMidGray:
m_OverrideState: 0
m_Value: 0
centerAroundExposureTarget:
m_OverrideState: 0
m_Value: 0
proceduralCenter:
m_OverrideState: 0
m_Value: {x: 0.5, y: 0.5}
proceduralRadii:
m_OverrideState: 0
m_Value: {x: 0.3, y: 0.3}
maskMinIntensity:
m_OverrideState: 0
m_Value: -30
maskMaxIntensity:
m_OverrideState: 0
m_Value: 30
proceduralSoftness:
m_OverrideState: 0
m_Value: 0.5
--- !u!114 &7502528774814404555
MonoBehaviour:
m_ObjectHideFlags: 3
@ -388,7 +479,6 @@ MonoBehaviour:
m_Name: AmbientOcclusion
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
quality:
m_OverrideState: 0
m_Value: 1
@ -398,75 +488,62 @@ MonoBehaviour:
intensity:
m_OverrideState: 1
m_Value: 0.5
min: 0
max: 4
directLightingStrength:
m_OverrideState: 0
m_Value: 0
min: 0
max: 1
radius:
m_OverrideState: 1
m_Value: 1.5
min: 0.25
max: 5
spatialBilateralAggressiveness:
m_OverrideState: 0
m_Value: 0.15
temporalAccumulation:
m_OverrideState: 0
m_Value: 1
ghostingReduction:
m_OverrideState: 0
m_Value: 0.5
min: 0
max: 1
blurSharpness:
m_OverrideState: 0
m_Value: 0.1
min: 0
max: 1
layerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Bits: 4294967295
rayLength:
occluderMotionRejection:
m_OverrideState: 0
m_Value: 0.5
min: 0
max: 50
sampleCount:
m_Value: 1
receiverMotionRejection:
m_OverrideState: 0
m_Value: 4
min: 1
max: 64
denoise:
m_OverrideState: 0
m_Value: 0
denoiserRadius:
m_OverrideState: 0
m_Value: 0.5
min: 0.001
max: 1
m_Value: 1
m_StepCount:
m_OverrideState: 0
m_Value: 6
min: 2
max: 32
m_FullResolution:
m_OverrideState: 0
m_Value: 0
m_MaximumRadiusInPixels:
m_OverrideState: 0
m_Value: 40
min: 16
max: 256
m_BilateralUpsample:
m_OverrideState: 0
m_Value: 1
m_DirectionCount:
m_OverrideState: 0
m_Value: 2
min: 1
max: 6
m_RayLength:
m_OverrideState: 0
m_Value: 3
m_SampleCount:
m_OverrideState: 0
m_Value: 2
m_Denoise:
m_OverrideState: 0
m_Value: 1
m_DenoiserRadius:
m_OverrideState: 0
m_Value: 0.5
--- !u!114 &7542669330009093999
MonoBehaviour:
m_ObjectHideFlags: 3
@ -480,46 +557,33 @@ MonoBehaviour:
m_Name: Tonemapping
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 2
toeStrength:
m_OverrideState: 0
m_Value: 0
min: 0
max: 1
toeLength:
m_OverrideState: 0
m_Value: 0.5
min: 0
max: 1
shoulderStrength:
m_OverrideState: 0
m_Value: 0
min: 0
max: 1
shoulderLength:
m_OverrideState: 0
m_Value: 0.5
min: 0
shoulderAngle:
m_OverrideState: 0
m_Value: 0
min: 0
max: 1
gamma:
m_OverrideState: 0
m_Value: 1
min: 0.001
lutTexture:
m_OverrideState: 0
m_Value: {fileID: 0}
lutContribution:
m_OverrideState: 0
m_Value: 1
min: 0
max: 1
--- !u!114 &7686318427622180703
MonoBehaviour:
m_ObjectHideFlags: 3
@ -533,21 +597,15 @@ MonoBehaviour:
m_Name: HDShadowSettings
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
maxShadowDistance:
m_OverrideState: 1
m_Value: 150
min: 0
directionalTransmissionMultiplier:
m_OverrideState: 0
m_Value: 1
min: 0
max: 1
cascadeShadowSplitCount:
m_OverrideState: 0
m_Value: 4
min: 1
max: 4
cascadeShadowSplit0:
m_OverrideState: 0
m_Value: 0.05