Lights and shadows for objects in level.

This commit is contained in:
Kaj Forney 2022-10-09 22:15:19 -06:00
parent 37cb83600c
commit 6fdfffb863
Signed by: kforney
GPG key ID: 3AB4E2E04CEF656F
4 changed files with 732 additions and 70 deletions

View file

@ -4761,7 +4761,7 @@ ParticleSystemRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
- {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -9608,7 +9608,7 @@ ParticleSystemRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
- {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -14420,7 +14420,7 @@ ParticleSystemRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
- {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -19232,7 +19232,7 @@ ParticleSystemRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
- {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

View file

@ -129,11 +129,11 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_ComponentVersion: 1
m_LightType: 2
m_LightType: 1
m_BlendStyleIndex: 0
m_FalloffIntensity: 0.5
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Intensity: 0.6
m_LightVolumeIntensity: 1
m_LightVolumeIntensityEnabled: 0
m_ApplyToSortingLayers: 00000000
@ -151,37 +151,142 @@ MonoBehaviour:
m_ShadowVolumeIntensityEnabled: 0
m_ShadowVolumeIntensity: 0.75
m_Vertices:
- position: {x: 0.9985302, y: 0.9985302, z: 0}
color: {r: 0.70710677, g: 0.70710677, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.9985302, y: 0.9985302, z: 0}
- position: {x: -0.5, y: -0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: -0.9985302, y: 0.9985302, z: 0}
color: {r: -0.70710677, g: 0.70710677, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.9985302, y: 0.9985302, z: 0}
- position: {x: 0.5, y: 0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: -0.99853003, y: -0.9985304, z: 0}
color: {r: -0.70710665, g: -0.7071069, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.99853003, y: -0.9985304, z: 0}
- position: {x: 0.5, y: -0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: 0.99853003, y: -0.9985304, z: 0}
color: {r: 0.70710665, g: -0.7071069, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.99853003, y: -0.9985304, z: 0}
- position: {x: -0.5, y: 0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: 0, y: 0, z: 0}
- position: {x: -0.5, y: -0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
m_Triangles: 030001000800020000000100030002000100050003000800040002000300050004000300070005000800060004000500070006000500010007000800000006000700010000000700
- position: {x: 0.5, y: -0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: 0.5, y: 0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: -0.5, y: 0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 1}
uv: {x: 0, y: 0}
- position: {x: -1, y: -0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.9904, y: -0.5974, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.9621, y: -0.6911, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.916, y: -0.7774, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.854, y: -0.8531, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.7784, y: -0.9153, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.6922, y: -0.9616, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.5986, y: -0.9902, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.5, y: -1, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.5, y: -1, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.5974, y: -0.9904, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.6911, y: -0.9621, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.7774, y: -0.916, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.8531, y: -0.854, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.9153, y: -0.7784, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.9616, y: -0.6922, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.9902, y: -0.5986, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 1, y: -0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 1, y: 0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.9904, y: 0.5974, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.9621, y: 0.6911, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.916, y: 0.7774, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.854, y: 0.8531, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.7784, y: 0.9153, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.6922, y: 0.9616, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.5986, y: 0.9902, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: 0.5, y: 1, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.5, y: 1, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.5974, y: 0.9904, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.6911, y: 0.9621, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.7774, y: 0.916, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.8531, y: 0.854, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.9153, y: 0.7784, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.9616, y: 0.6922, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -0.9902, y: 0.5986, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
- position: {x: -1, y: 0.5, z: 0}
color: {r: 0, g: 0, b: 0, a: 0}
uv: {x: 0, y: 0}
m_Triangles: 000001000200010000000300040008000800040008000900040009000a0004000a000b0004000b000c0004000c000d0004000d000e0004000e000f0004000f001000040005001100040010001100050011001200050012001300050013001400050014001500050015001600050016001700050017001800050018001900050006001a00050019001a0006001a001b0006001b001c0006001c001d0006001d001e0006001e001f0006001f002000060020002100060007002200060021002200070022002300070023002400070024002500070025002600070026002700070027002800070028002900070029002a0007002a002b0008000400070008002b000700
m_LocalBounds:
m_Center: {x: 0, y: -0.00000011920929, z: 0}
m_Extent: {x: 0.9985302, y: 0.99853027, z: 0}
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 1, y: 1, z: 0}
m_PointLightInnerAngle: 360
m_PointLightOuterAngle: 360
m_PointLightInnerRadius: 0
@ -208,6 +313,7 @@ GameObject:
- component: {fileID: 376557520294348530}
- component: {fileID: 6834817323510214274}
- component: {fileID: 1115786833419870455}
- component: {fileID: 4641779836616710239}
m_Layer: 3
m_Name: tetrominoBase
m_TagString: Tetromino
@ -406,3 +512,30 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!114 &4641779836616710239
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6737607240575143600}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7db70e0ea77f5ac47a8f4565a9406397, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ShadowGroup: 0
m_ComponentVersion: 1
m_HasRenderer: 1
m_UseRendererSilhouette: 1
m_CastsShadows: 1
m_SelfShadows: 1
m_ApplyToSortingLayers: 00000000
m_ShapePath:
- {x: -0.5, y: -0.5, z: 0}
- {x: -0.5, y: 0.5, z: 0}
- {x: 0.5, y: 0.5, z: 0}
- {x: 0.5, y: -0.5, z: 0}
m_ShapePathHash: 0
m_Mesh: {fileID: 0}
m_InstanceId: -68018

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 B

After

Width:  |  Height:  |  Size: 103 B