Browse Source

added dissapear shader & flare removed from sun

audio
Cailean Finn 6 months ago
parent
commit
a34c1e2c59
  1. 427
      Assets/5_Scenes/DreconDemo.unity
  2. 647
      Assets/7_Shaders/Vertex Snapping/Vertex Snapping.shadergraph
  3. 24
      Assets/8_Scripts/2_General/DissapearShader.cs
  4. 11
      Assets/8_Scripts/2_General/DissapearShader.cs.meta
  5. 3
      Assets/8_Scripts/2_General/Rotate.cs
  6. 8
      Assets/9_Models/Humanoid/SMPLX_Texture/smplx texture human.mat
  7. 302
      Assets/9_Models/Objects/Materials/Black Plane.mat
  8. 8
      Assets/9_Models/Objects/Materials/Black Plane.mat.meta
  9. 2
      Assets/ML-Agents/Timers/DreconDemo_timers.json

427
Assets/5_Scenes/DreconDemo.unity

@ -201,7 +201,7 @@ MonoBehaviour:
m_Path: {fileID: 1926240438}
m_UpdateMethod: 0
m_PositionUnits: 1
m_Speed: 2
m_Speed: 10
m_Position: 0
--- !u!1 &62178361
GameObject:
@ -257,7 +257,7 @@ MonoBehaviour:
m_LookAt: {fileID: 1853480535}
m_Follow: {fileID: 1014898013}
m_Lens:
FieldOfView: 40
FieldOfView: 25
OrthographicSize: 10
NearClipPlane: 0.1
FarClipPlane: 50000
@ -368,10 +368,24 @@ MonoBehaviour:
m_GameObject: {fileID: 105761588}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a4c41ac9245b87c4192012080077d830, type: 3}
m_Script: {fileID: 11500000, guid: f4044717213e31446939f7bd49c896ea, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Damping: 1
m_TrackedObjectOffset: {x: 0, y: 0, z: 0}
m_LookaheadTime: 0
m_LookaheadSmoothing: 0
m_LookaheadIgnoreY: 0
m_HorizontalDamping: 0.5
m_VerticalDamping: 0.5
m_ScreenX: 0.5
m_ScreenY: 0.5
m_DeadZoneWidth: 0
m_DeadZoneHeight: 0
m_SoftZoneWidth: 0.8
m_SoftZoneHeight: 0.8
m_BiasX: 0
m_BiasY: 0
m_CenterOnActivate: 1
--- !u!1 &153031623
GameObject:
m_ObjectHideFlags: 0
@ -960,9 +974,9 @@ Camera:
y: 0
width: 1
height: 1
near clip plane: 0.01
near clip plane: 0.5
far clip plane: 5000
field of view: 35.81
field of view: 10
orthographic: 0
orthographic size: 10
m_Depth: -1
@ -988,8 +1002,8 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
serializedVersion: 2
m_LocalRotation: {x: 0.4892265, y: 0.0019183395, z: -0.0010760742, w: 0.872154}
m_LocalPosition: {x: 18.101963, y: 9.998964, z: -0.49403942}
m_LocalRotation: {x: -0.000011777699, y: 0.99844646, z: 0.05572048, w: -0.00006459193}
m_LocalPosition: {x: 18.10261, y: 8.421116, z: 4.4883924}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -1250,7 +1264,7 @@ Light:
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ShadowRadius: 0
m_ShadowAngle: 1
m_ShadowAngle: 0
--- !u!4 &410087041
Transform:
m_ObjectHideFlags: 0
@ -1308,10 +1322,10 @@ MonoBehaviour:
m_AreaLightShadowCone: 120
m_UseScreenSpaceShadows: 0
m_InteractsWithSky: 1
m_AngularDiameter: 1
m_FlareSize: 2
m_AngularDiameter: 0
m_FlareSize: 0
m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
m_FlareFalloff: 4
m_FlareFalloff: 0
m_SurfaceTexture: {fileID: 0}
m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
m_Distance: 1.5e+11
@ -1388,6 +1402,85 @@ MonoBehaviour:
m_PointlightHDType: 0
m_SpotLightShape: 0
m_AreaLightShape: 0
--- !u!1 &446396106
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 446396107}
- component: {fileID: 446396108}
m_Layer: 0
m_Name: Environment-Wide-Dolly-2 (1)
m_TagString: vc_Environment
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &446396107
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 446396106}
serializedVersion: 2
m_LocalRotation: {x: -0.038369842, y: -0.7383042, z: -0.042152226, w: 0.6720549}
m_LocalPosition: {x: -69.15054, y: -73.52748, z: -73.52011}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1578895885}
m_Father: {fileID: 1080996488}
m_LocalEulerAnglesHint: {x: 69.9, y: 309.3, z: 0}
--- !u!114 &446396108
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 446396106}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 45e653bab7fb20e499bda25e1b646fea, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ExcludedPropertiesInInspector:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 0
m_StandbyUpdate: 2
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_Lens:
FieldOfView: 20
OrthographicSize: 5.2
NearClipPlane: 0.1
FarClipPlane: 50000
Dutch: 0
ModeOverride: 2
LensShift: {x: 0, y: 0}
GateFit: 2
FocusDistance: 10
m_SensorSize: {x: 1, y: 1}
Iso: 200
ShutterSpeed: 0.005
Aperture: 16
BladeCount: 5
Curvature: {x: 2, y: 11}
BarrelClipping: 0.25
Anamorphism: 0
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 0
m_OnCameraLive:
m_PersistentCalls:
m_Calls: []
m_LegacyBlendHint: 0
m_ComponentOwner: {fileID: 1578895885}
--- !u!1 &547443782
GameObject:
m_ObjectHideFlags: 0
@ -1437,7 +1530,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &564611602
Transform:
m_ObjectHideFlags: 0
@ -1996,7 +2089,7 @@ MonoBehaviour:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 2147483647
m_Priority: 0
m_StandbyUpdate: 2
m_LookAt: {fileID: 1141103525}
m_Follow: {fileID: 1080996488}
@ -2026,6 +2119,52 @@ MonoBehaviour:
m_Calls: []
m_LegacyBlendHint: 0
m_ComponentOwner: {fileID: 655469286}
--- !u!1 &807735185
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 807735186}
- component: {fileID: 807735187}
m_Layer: 0
m_Name: Parent
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &807735186
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 807735185}
serializedVersion: 2
m_LocalRotation: {x: -0.087706625, y: 0.89940786, z: 0.21202853, w: 0.37204438}
m_LocalPosition: {x: 17.70191, y: 8.498964, z: -0.09409177}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1657725490}
m_Father: {fileID: 1346050330}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &807735187
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 807735185}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 519cf89ae36670048bb519d29044f45e, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Speed: 5
--- !u!1 &836029446
GameObject:
m_ObjectHideFlags: 3
@ -2252,7 +2391,7 @@ MonoBehaviour:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 2147483647
m_Priority: 0
m_StandbyUpdate: 2
m_LookAt: {fileID: 1808813725}
m_Follow: {fileID: 2581342070419090085}
@ -2290,7 +2429,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 882491594}
serializedVersion: 2
m_LocalRotation: {x: 0.4892265, y: 0.0019183395, z: -0.0010760742, w: 0.872154}
m_LocalRotation: {x: 0.48922646, y: 0.0019183523, z: -0.0010760814, w: 0.87215406}
m_LocalPosition: {x: 18.101963, y: 9.998964, z: -0.49403942}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -2504,14 +2643,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 949034603}
serializedVersion: 2
m_LocalRotation: {x: -0.27253208, y: -0.40305838, z: -0.12708385, w: 0.864361}
m_LocalPosition: {x: 172, y: -95, z: -89}
m_LocalRotation: {x: -0.50863904, y: -0.381574, z: -0.26817495, w: 0.7237195}
m_LocalPosition: {x: 215.69, y: -451.7, z: -89}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1111505390}
m_Father: {fileID: 1346050330}
m_LocalEulerAnglesHint: {x: 325, y: 310, z: 0}
m_LocalEulerAnglesHint: {x: 289.8, y: 304.4, z: 0}
--- !u!114 &949034605
MonoBehaviour:
m_ObjectHideFlags: 0
@ -2533,7 +2672,7 @@ MonoBehaviour:
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_Lens:
FieldOfView: 50
FieldOfView: 19
OrthographicSize: 116.57
NearClipPlane: 0.1
FarClipPlane: 5000
@ -2708,7 +2847,7 @@ MonoBehaviour:
m_Path: {fileID: 792989025}
m_UpdateMethod: 0
m_PositionUnits: 1
m_Speed: 2
m_Speed: 10
m_Position: 0
--- !u!1 &1080375954
GameObject:
@ -2807,7 +2946,8 @@ Transform:
m_LocalPosition: {x: -110.22031, y: 76.955246, z: -62.91939}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 446396107}
m_Father: {fileID: 1858671032}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1080996489
@ -3065,6 +3205,68 @@ MonoBehaviour:
m_LegacyHeightOffset: 3.4028235e+38
m_LegacyHeadingBias: 3.4028235e+38
m_HeadingIsSlave: 0
--- !u!1 &1191875770
GameObject:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1191875771}
- component: {fileID: 1191875773}
- component: {fileID: 1191875772}
m_Layer: 0
m_Name: cm
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1191875771
Transform:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1191875770}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 19.341925, y: 6.744215, z: 1.1490406}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1837387740}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1191875772
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1191875770}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 68bb026fafb42b14791938953eaace77, type: 3}
m_Name:
m_EditorClassIdentifier:
m_NoiseProfile: {fileID: 11400000, guid: 46965f9cbaf525742a6da4c2172a99cd, type: 2}
m_PivotOffset: {x: 0, y: 0, z: 0}
m_AmplitudeGain: 1
m_FrequencyGain: 0.1
mNoiseOffsets: {x: -933.8756, y: -486.32202, z: 1.2081909}
--- !u!114 &1191875773
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1191875770}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ac0b09e7857660247b1477e93731de29, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1192570236
GameObject:
m_ObjectHideFlags: 0
@ -3160,7 +3362,8 @@ Transform:
- {fileID: 1955078060}
- {fileID: 882491598}
- {fileID: 326736460}
- {fileID: 1657725490}
- {fileID: 807735186}
- {fileID: 1837387740}
- {fileID: 298844362}
- {fileID: 949034604}
- {fileID: 62178362}
@ -3475,7 +3678,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1440085503}
serializedVersion: 2
m_LocalRotation: {x: -0.023895208, y: 0.90641296, z: 0.05175012, w: 0.418529}
m_LocalRotation: {x: 0.0572194, y: 0.93702376, z: 0.2912418, w: -0.18409424}
m_LocalPosition: {x: 93.69663, y: 11.427768, z: 12.745178}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -3501,14 +3704,14 @@ MonoBehaviour:
m_StreamingVersion: 20170927
m_Priority: 0
m_StandbyUpdate: 2
m_LookAt: {fileID: 1853480535}
m_LookAt: {fileID: 1141103525}
m_Follow: {fileID: 39290366}
m_Lens:
FieldOfView: 40
FieldOfView: 20
OrthographicSize: 5.2
NearClipPlane: 0.1
FarClipPlane: 50000
Dutch: 25
Dutch: 0
ModeOverride: 2
LensShift: {x: 0, y: 0}
GateFit: 2
@ -3731,6 +3934,68 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fdec66b4af82b494f830bb5ac54844ea, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1578895884
GameObject:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1578895885}
- component: {fileID: 1578895889}
- component: {fileID: 1578895888}
m_Layer: 0
m_Name: cm
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1578895885
Transform:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1578895884}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 19.341925, y: 6.744215, z: 1.1490406}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 446396107}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1578895888
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1578895884}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 68bb026fafb42b14791938953eaace77, type: 3}
m_Name:
m_EditorClassIdentifier:
m_NoiseProfile: {fileID: 11400000, guid: 46965f9cbaf525742a6da4c2172a99cd, type: 2}
m_PivotOffset: {x: 0, y: 0, z: 0}
m_AmplitudeGain: 1
m_FrequencyGain: 0.1
mNoiseOffsets: {x: -933.8756, y: -486.32202, z: 1.2081909}
--- !u!114 &1578895889
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1578895884}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ac0b09e7857660247b1477e93731de29, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &1601195942
PrefabInstance:
m_ObjectHideFlags: 0
@ -3768,7 +4033,7 @@ PrefabInstance:
- target: {fileID: -774367247743995920, guid: 48098b8dbd129e14a8ce29e7d166189a,
type: 3}
propertyPath: m_Enabled
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: -774367247743995920, guid: 48098b8dbd129e14a8ce29e7d166189a,
type: 3}
@ -3897,7 +4162,7 @@ MonoBehaviour:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 1000
m_Priority: 0
m_StandbyUpdate: 2
m_LookAt: {fileID: 1853480535}
m_Follow: {fileID: 1645504645}
@ -4013,13 +4278,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1657725489}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.7609725, z: -0, w: -0.64878416}
m_LocalPosition: {x: 75.44, y: 18.08, z: 0}
m_LocalRotation: {x: 0.10444521, y: 0.8666371, z: 0.20430309, w: 0.44304812}
m_LocalPosition: {x: -40.932407, y: -8.542882, z: 41.24906}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1386011728}
m_Father: {fileID: 1346050330}
m_Father: {fileID: 807735186}
m_LocalEulerAnglesHint: {x: 0, y: 260.9, z: 0}
--- !u!114 &1657725491
MonoBehaviour:
@ -4098,6 +4363,85 @@ Transform:
m_Children: []
m_Father: {fileID: 4666629424081341554}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1837387739
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1837387740}
- component: {fileID: 1837387741}
m_Layer: 0
m_Name: Environment-Still-Ortho
m_TagString: vc_Environment
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1837387740
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1837387739}
serializedVersion: 2
m_LocalRotation: {x: -0.04636615, y: 0.9349433, z: 0.13314544, w: 0.32558176}
m_LocalPosition: {x: -84.9, y: 9.7, z: 87.8}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1191875771}
m_Father: {fileID: 1346050330}
m_LocalEulerAnglesHint: {x: -16.21, y: 141.6, z: 0}
--- !u!114 &1837387741
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1837387739}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 45e653bab7fb20e499bda25e1b646fea, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ExcludedPropertiesInInspector:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 10
m_StandbyUpdate: 2
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_Lens:
FieldOfView: 28.3
OrthographicSize: 45
NearClipPlane: 0.1
FarClipPlane: 5000
Dutch: 0
ModeOverride: 1
LensShift: {x: 0, y: 0}
GateFit: 2
FocusDistance: 10
m_SensorSize: {x: 1, y: 1}
Iso: 200
ShutterSpeed: 0.005
Aperture: 16
BladeCount: 5
Curvature: {x: 2, y: 11}
BarrelClipping: 0.25
Anamorphism: 0
m_Transitions:
m_BlendHint: 0
m_InheritPosition: 0
m_OnCameraLive:
m_PersistentCalls:
m_Calls: []
m_LegacyBlendHint: 0
m_ComponentOwner: {fileID: 1191875771}
--- !u!1 &1853480531
GameObject:
m_ObjectHideFlags: 0
@ -4539,7 +4883,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1955078056}
serializedVersion: 2
m_LocalRotation: {x: 0.7004391, y: -0.026123356, z: 0.025692862, w: 0.71277106}
m_LocalRotation: {x: 0.7004387, y: -0.026135176, z: 0.025704483, w: 0.7127706}
m_LocalPosition: {x: 18.103188, y: 10.921118, z: -0.51160717}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -6827,6 +7171,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 8051831452113010239}
- component: {fileID: 8051831452113010240}
m_Layer: 3
m_Name: mixamorig:Hips
m_TagString: Untagged
@ -10824,6 +11169,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 519cf89ae36670048bb519d29044f45e, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Speed: 0
--- !u!4 &4945909789592020759
Transform:
m_ObjectHideFlags: 0
@ -14296,6 +14642,21 @@ Transform:
- {fileID: 4666629424081341554}
m_Father: {fileID: 2988384812314345633}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8051831452113010240
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1831100995558030226}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8900da15042aca74aa6defcda76396a3, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 597337d36e2278c4db0ba474300e988f, type: 2}
m_HeightThresholdMax: -140
m_HeightThresholdMin: -60
--- !u!114 &8084786516277285324
MonoBehaviour:
m_ObjectHideFlags: 0

647
Assets/7_Shaders/Vertex Snapping/Vertex Snapping.shadergraph

@ -14,6 +14,12 @@
},
{
"m_Id": "cdd70c0b734e4c82b99e84d9ca9c70d9"
},
{
"m_Id": "b78f890850f74440a5ad2d3d6884d124"
},
{
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
}
],
"m_Keywords": [],
@ -86,6 +92,21 @@
},
{
"m_Id": "74d10fd7559a475899613c1c408bdffe"
},
{
"m_Id": "081ca621f421442eb8a6fe5f03cae0f4"
},
{
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
{
"m_Id": "da2073658a1b4391b7694ebf408bbf90"
},
{
"m_Id": "823835a9229c4762a154fc64a0948948"
},
{
"m_Id": "a0af231887b0442888c71a942a0f86fb"
}
],
"m_GroupDatas": [
@ -118,6 +139,20 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "081ca621f421442eb8a6fe5f03cae0f4"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@ -174,6 +209,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8637c75e09654205ad4f8459494695a8"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@ -211,11 +260,25 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8637c75e09654205ad4f8459494695a8"
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "da2073658a1b4391b7694ebf408bbf90"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@ -244,6 +307,20 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a0af231887b0442888c71a942a0f86fb"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@ -356,6 +433,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "da2073658a1b4391b7694ebf408bbf90"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@ -404,8 +495,8 @@
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
"x": -0.0000133514404296875,
"y": 223.00001525878907
},
"m_Blocks": [
{
@ -546,6 +637,42 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "081ca621f421442eb8a6fe5f03cae0f4",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1340.0,
"y": 951.0,
"width": 134.0001220703125,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "10aeea874dd04413ae2fa03f1c3d2f98"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b78f890850f74440a5ad2d3d6884d124"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
@ -630,6 +757,20 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "10aeea874dd04413ae2fa03f1c3d2f98",
"m_Id": 0,
"m_DisplayName": "_Dissapear",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
@ -825,6 +966,21 @@
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "26f6a9e3a67c4112b5f9fd55a037a2db",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@ -866,6 +1022,54 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "28e9905b76fc463da241fde5ccc381ac",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@ -925,6 +1129,30 @@
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "327236d59d4f4989bd498c322ee6b3d8",
"m_Id": 3,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
@ -984,6 +1212,34 @@
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "3684cf544dbe4e7eacdb6d58bf97807c",
"m_Guid": {
"m_GuidSerialized": "67fcd608-2147-4a47-ac6b-08ce5c6b09c2"
},
"m_Name": "_DissapearValue",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "_DissapearValue",
"m_DefaultReferenceName": "_DissapearValue",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
@ -997,6 +1253,49 @@
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "43940414a78e4d0cb331d73b2b8aa45a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -649.0,
"y": 407.0,
"width": 207.99996948242188,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "b639febb92554714a783555efab46a93"
},
{
"m_Id": "47c312f7d8bd46e1a94ed016b6d0eb83"
},
{
"m_Id": "28e9905b76fc463da241fde5ccc381ac"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
@ -1014,6 +1313,12 @@
},
{
"m_Id": "cdd70c0b734e4c82b99e84d9ca9c70d9"
},
{
"m_Id": "b78f890850f74440a5ad2d3d6884d124"
},
{
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
}
]
}
@ -1031,6 +1336,69 @@
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "475090740a314f41a037738ae12ecc53",
"m_Id": 0,
"m_DisplayName": "_DissapearValue",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "47c312f7d8bd46e1a94ed016b6d0eb83",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
@ -1115,6 +1483,21 @@
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5193a95830e840eb8beaaf3711cbb14e",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
@ -1123,6 +1506,30 @@
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5939039fba3e420a893d2d318f05a6b3",
"m_Id": 2,
"m_DisplayName": "False",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "False",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@ -1416,6 +1823,52 @@
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
"m_ObjectId": "823835a9229c4762a154fc64a0948948",
"m_Group": {
"m_Id": ""
},
"m_Name": "Branch",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1128.0,
"y": 911.9999389648438,
"width": 170.0,
"height": 142.00006103515626
}
},
"m_Slots": [
{
"m_Id": "dcdcca473c61457ebed67b816b661b50"
},
{
"m_Id": "e99d70a6413542699eb5397f5972a4d4"
},
{
"m_Id": "5939039fba3e420a893d2d318f05a6b3"
},
{
"m_Id": "327236d59d4f4989bd498c322ee6b3d8"
}
],
"synonyms": [
"switch",
"if",
"else"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
@ -1736,6 +2189,42 @@
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "a0af231887b0442888c71a942a0f86fb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1526.0,
"y": 985.0,
"width": 161.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "475090740a314f41a037738ae12ecc53"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@ -1952,6 +2441,54 @@
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "b639febb92554714a783555efab46a93",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
@ -2012,6 +2549,29 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
"m_ObjectId": "b78f890850f74440a5ad2d3d6884d124",
"m_Guid": {
"m_GuidSerialized": "aa61266d-2c97-4741-a228-b5f3f4054725"
},
"m_Name": "_Dissapear",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "_Dissapear",
"m_DefaultReferenceName": "_Dissapear",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
@ -2355,6 +2915,63 @@
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "da2073658a1b4391b7694ebf408bbf90",
"m_Group": {
"m_Id": ""
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -891.9999389648438,
"y": 671.0,
"width": 126.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "5193a95830e840eb8beaaf3711cbb14e"
},
{
"m_Id": "26f6a9e3a67c4112b5f9fd55a037a2db"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "dcdcca473c61457ebed67b816b661b50",
"m_Id": 0,
"m_DisplayName": "Predicate",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Predicate",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@ -2443,6 +3060,30 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e99d70a6413542699eb5397f5972a4d4",
"m_Id": 1,
"m_DisplayName": "True",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "True",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",

24
Assets/8_Scripts/2_General/DissapearShader.cs

@ -0,0 +1,24 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DissapearShader : MonoBehaviour
{
public Material m_Material;
public float m_HeightThresholdMax;
public float m_HeightThresholdMin;
private float m_InitalHeight;
void Awake(){
m_InitalHeight = this.transform.position.y;
Debug.Log(m_InitalHeight);
}
void Update(){
float value = Mathf.Clamp( Remap(this.transform.position.y, m_HeightThresholdMin, m_HeightThresholdMax, 1, 0), 0, 1 );
float slerpValue = Mathf.Lerp(1, 0, Mathf.SmoothStep(1, 0, value));
m_Material.SetFloat("_DissapearValue", slerpValue);
Debug.Log( slerpValue );
}
public float Remap (float value, float from1, float to1, float from2, float to2) {
return (value - from1) / (to1 - from1) * (to2 - from2) + from2;
}
}

11
Assets/8_Scripts/2_General/DissapearShader.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8900da15042aca74aa6defcda76396a3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

3
Assets/8_Scripts/2_General/Rotate.cs

@ -5,8 +5,9 @@ using UnityEngine;
public class Rotate : MonoBehaviour
{
// Update is called once per frame
public float m_Speed;
void Update()
{
this.transform.Rotate(0, -Time.fixedDeltaTime / 4, 0, Space.World);
this.transform.Rotate(0, -Time.fixedDeltaTime * m_Speed, 0, Space.World);
}
}

8
Assets/9_Models/Humanoid/SMPLX_Texture/smplx texture human.mat

@ -19,7 +19,7 @@ Material:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2000
m_CustomRenderQueue: 2501
stringTagMap:
MotionVector: User
disabledShaderPasses:
@ -167,6 +167,8 @@ Material:
- _DisplacementLockObjectScale: 1
- _DisplacementLockTilingScale: 1
- _DisplacementMode: 0
- _Dissapear: 1
- _DissapearValue: 1
- _DoubleSidedEnable: 0
- _DoubleSidedGIMode: 0
- _DoubleSidedNormalMode: 1
@ -211,7 +213,7 @@ Material:
- _ReceivesSSR: 1
- _ReceivesSSRTransparent: 0
- _RefractionModel: 0
- _RenderQueueType: 1
- _RenderQueueType: 2
- _Smoothness: 0.5
- _SmoothnessRemapMax: 1
- _SmoothnessRemapMin: 0
@ -249,7 +251,7 @@ Material:
- _UVEmissive: 0
- _UseEmissiveIntensity: 0
- _UseShadowThreshold: 0
- _ZTestDepthEqualForOpaque: 3
- _ZTestDepthEqualForOpaque: 4
- _ZTestGBuffer: 4
- _ZTestTransparent: 4
- _ZWrite: 1

302
Assets/9_Models/Objects/Materials/Black Plane.mat

@ -0,0 +1,302 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Black Plane
m_Shader: {fileID: 4800000, guid: c4edd00ff2db5b24391a4fcb1762e459, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords:
- _DISABLE_SSR_TRANSPARENT
- _NORMALMAP_TANGENT_SPACE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2000
stringTagMap: {}
disabledShaderPasses:
- DistortionVectors
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AnisotropyMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BentNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BentNormalMapOS:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _CoatMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DistortionVectorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissiveColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _HeightMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _IridescenceMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _IridescenceThicknessMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMapOS:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecularColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SubsurfaceMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TangentMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TangentMapOS:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ThicknessMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TransmissionMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TransmittanceColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _UnlitColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AORemapMax: 1
- _AORemapMin: 0
- _ATDistance: 1
- _AddPrecomputedVelocity: 0
- _AlbedoAffectEmissive: 0
- _AlphaCutoff: 0.5
- _AlphaCutoffEnable: 0
- _AlphaCutoffPostpass: 0.5
- _AlphaCutoffPrepass: 0.5
- _AlphaCutoffShadow: 0.5
- _AlphaDstBlend: 0
- _AlphaRemapMax: 1
- _AlphaRemapMin: 0
- _AlphaSrcBlend: 1
- _Anisotropy: 0
- _BlendMode: 0
- _CoatMask: 0
- _CullMode: 2
- _CullModeForward: 2
- _Cutoff: 0.5
- _DepthOffsetEnable: 0
- _DetailAlbedoScale: 1
- _DetailNormalScale: 1
- _DetailSmoothnessScale: 1
- _DiffusionProfile: 0
- _DiffusionProfileHash: 0
- _DisplacementLockObjectScale: 1
- _DisplacementLockTilingScale: 1
- _DisplacementMode: 0
- _DistortionBlendMode: 0
- _DistortionBlurBlendMode: 0
- _DistortionBlurDstBlend: 1
- _DistortionBlurRemapMax: 1
- _DistortionBlurRemapMin: 0
- _DistortionBlurScale: 1
- _DistortionBlurSrcBlend: 1
- _DistortionDepthTest: 1
- _DistortionDstBlend: 1
- _DistortionEnable: 0
- _DistortionOnly: 0
- _DistortionScale: 1
- _DistortionSrcBlend: 1
- _DistortionVectorBias: -1
- _DistortionVectorScale: 2
- _DoubleSidedEnable: 0
- _DoubleSidedGIMode: 0
- _DoubleSidedNormalMode: 1
- _DstBlend: 0
- _EmissiveColorMode: 1
- _EmissiveExposureWeight: 1
- _EmissiveIntensity: 1
- _EmissiveIntensityUnit: 0
- _EnableBlendModePreserveSpecularLighting: 1
- _EnableFogOnTransparent: 1
- _EnableGeometricSpecularAA: 0
- _EnergyConservingSpecularColor: 1
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0
- _HeightMax: 1
- _HeightMin: -1
- _HeightOffset: 0
- _HeightPoMAmplitude: 2
- _HeightTessAmplitude: 2
- _HeightTessCenter: 0.5
- _IncludeIndirectLighting: 1
- _InvTilingScale: 1
- _Ior: 1.5
- _IridescenceMask: 1
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
- _Metallic: 0
- _MetallicRemapMax: 1
- _MetallicRemapMin: 0
- _NormalMapSpace: 0
- _NormalScale: 1
- _ObjectSpaceUVMapping: 0
- _ObjectSpaceUVMappingEmissive: 0
- _OpaqueCullMode: 2
- _PPDLodThreshold: 5
- _PPDMaxSamples: 15
- _PPDMinSamples: 5
- _PPDPrimitiveLength: 1
- _PPDPrimitiveWidth: 1
- _RayTracing: 0
- _ReceivesSSR: 1
- _ReceivesSSRTransparent: 0
- _RefractionModel: 0
- _Smoothness: 1
- _SmoothnessRemapMax: 1
- _SmoothnessRemapMin: 0
- _SpecularAAScreenSpaceVariance: 0.1
- _SpecularAAThreshold: 0.2
- _SpecularOcclusionMode: 1
- _SrcBlend: 1
- _StencilRef: 0
- _StencilRefDepth: 1
- _StencilRefDistortionVec: 4
- _StencilRefGBuffer: 10
- _StencilRefMV: 33
- _StencilWriteMask: 6
- _StencilWriteMaskDepth: 9
- _StencilWriteMaskDistortionVec: 4
- _StencilWriteMaskGBuffer: 15
- _StencilWriteMaskMV: 43
- _SubsurfaceMask: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1
- _Thickness: 1
- _TransmissionEnable: 1
- _TransmissionMask: 1
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
- _TransparentDepthPrepassEnable: 0
- _TransparentSortPriority: 0
- _TransparentWritingMotionVec: 0
- _TransparentZWrite: 0
- _UVBase: 0
- _UVDetail: 0
- _UVEmissive: 0
- _UseEmissiveIntensity: 0
- _UseShadowThreshold: 0
- _ZTestDepthEqualForOpaque: 3
- _ZTestGBuffer: 4
- _ZTestModeDistortion: 4
- _ZTestTransparent: 4
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
- _UnlitColor: {r: 0, g: 0, b: 0, a: 1}
- _UnlitColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []
--- !u!114 &7552043192269117466
MonoBehaviour:
m_ObjectHideFlags: 11
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: da692e001514ec24dbc4cca1949ff7e8, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 13
hdPluginSubTargetMaterialVersions:
m_Keys: []
m_Values:

8
Assets/9_Models/Objects/Materials/Black Plane.mat.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 38e626422e6e81a46b3b74618c64389a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

2
Assets/ML-Agents/Timers/DreconDemo_timers.json

@ -1 +1 @@
{"count":1,"self":103.3575616,"total":107.10418329999999,"children":{"InitializeActuators":{"count":1,"self":0.0010117,"total":0.0010117,"children":null},"InitializeSensors":{"count":1,"self":0.0015092,"total":0.0015092,"children":null},"AgentSendState":{"count":6058,"self":0.029307999999999997,"total":0.9837178,"children":{"CollectObservations":{"count":3029,"self":0.92844189999999993,"total":0.92844189999999993,"children":null},"WriteActionMask":{"count":3029,"self":0.0045397,"total":0.0045397,"children":null},"RequestDecision":{"count":3029,"self":0.021428199999999998,"total":0.021428199999999998,"children":null}}},"DecideAction":{"count":6058,"self":1.9655694,"total":1.9655694,"children":null},"AgentAct":{"count":6058,"self":0.7948158,"total":0.7948158,"children":null}},"gauges":{"DReCon-v0.CumulativeReward":{"count":2,"max":2372.5188,"min":71.50009,"runningAverage":1222.0094,"value":2372.5188,"weightedAverage":646.754761}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713360782","unity_version":"2022.3.5f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.5f1\\Editor\\Unity.exe -projectpath C:\\Users\\caile\\Desktop\\drecon-unity -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-cail -hubSessionId 60702737-0d85-46c9-9963-54ce885fdf87 -accessToken HL02TXSKYS0F1zGXNaFKZ8u_6ATTHafGlDHtkhjTyHA005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"DreconDemo","end_time_seconds":"1713360889"}}
{"count":1,"self":249.4460416,"total":259.06996879999997,"children":{"InitializeActuators":{"count":1,"self":0.0010509999999999999,"total":0.0010509999999999999,"children":null},"InitializeSensors":{"count":1,"self":0.0009479,"total":0.0009479,"children":null},"AgentSendState":{"count":15098,"self":0.11660459999999999,"total":3.1202951,"children":{"CollectObservations":{"count":7549,"self":2.949478,"total":2.9494778999999998,"children":null},"WriteActionMask":{"count":7549,"self":0.011522399999999999,"total":0.011522399999999999,"children":null},"RequestDecision":{"count":7549,"self":0.0426902,"total":0.0426902,"children":null}}},"DecideAction":{"count":15098,"self":4.6720863999999995,"total":4.6720863,"children":null},"AgentAct":{"count":15098,"self":1.8295431999999998,"total":1.8295431,"children":null}},"gauges":{"DReCon-v0.CumulativeReward":{"count":4,"max":3146.66333,"min":61.7052727,"runningAverage":1608.25659,"value":2096.955,"weightedAverage":1298.85327}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713365327","unity_version":"2022.3.5f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.5f1\\Editor\\Unity.exe -projectpath C:\\Users\\caile\\Desktop\\drecon-unity -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-cail -hubSessionId 60702737-0d85-46c9-9963-54ce885fdf87 -accessToken HL02TXSKYS0F1zGXNaFKZ8u_6ATTHafGlDHtkhjTyHA005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"DreconDemo","end_time_seconds":"1713365586"}}
Loading…
Cancel
Save