Skip to content

Commit 71b19d6

Browse files
committed
Flame example
1 parent fc8d099 commit 71b19d6

File tree

11 files changed

+1060
-275
lines changed

11 files changed

+1060
-275
lines changed

Assets/Examples/Flame/Flame.ShaderGraph

Lines changed: 33 additions & 88 deletions
Large diffs are not rendered by default.

Assets/Examples/Flame/Flame.psd.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Examples/Flame/Flame.unity

Lines changed: 78 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ RenderSettings:
2020
m_FogDensity: 0.01
2121
m_LinearFogStart: 0
2222
m_LinearFogEnd: 300
23-
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24-
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25-
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
23+
m_AmbientSkyColor: {r: 0.07863118, g: 0.11718748, b: 0.5377358, a: 1}
24+
m_AmbientEquatorColor: {r: 0.13207549, g: 0.13207549, b: 0.13207549, a: 1}
25+
m_AmbientGroundColor: {r: 0.8396226, g: 0.16468641, b: 0.13069598, a: 1}
2626
m_AmbientIntensity: 1
27-
m_AmbientMode: 0
27+
m_AmbientMode: 1
2828
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29-
m_SkyboxMaterial: {fileID: 2100000, guid: 1a261def5b0fa7a419df6b30673dc983, type: 2}
29+
m_SkyboxMaterial: {fileID: 0}
3030
m_HaloStrength: 0.5
3131
m_FlareStrength: 1
3232
m_FlareFadeSpeed: 3
3333
m_HaloTexture: {fileID: 0}
3434
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35-
m_DefaultReflectionMode: 0
35+
m_DefaultReflectionMode: 1
3636
m_DefaultReflectionResolution: 128
3737
m_ReflectionBounces: 1
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 0.14333674, g: 0.12881108, b: 0.1193281, a: 1}
41+
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
@@ -158,78 +158,68 @@ Transform:
158158
m_Father: {fileID: 1719846269}
159159
m_RootOrder: 0
160160
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
161-
--- !u!1 &664960179
162-
GameObject:
161+
--- !u!1001 &681944671
162+
Prefab:
163163
m_ObjectHideFlags: 0
164-
m_PrefabParentObject: {fileID: 0}
165-
m_PrefabInternal: {fileID: 0}
166-
serializedVersion: 5
167-
m_Component:
168-
- component: {fileID: 664960182}
169-
- component: {fileID: 664960181}
170-
- component: {fileID: 664960180}
171-
m_Layer: 0
172-
m_Name: Floor
173-
m_TagString: Untagged
174-
m_Icon: {fileID: 0}
175-
m_NavMeshLayer: 0
176-
m_StaticEditorFlags: 0
177-
m_IsActive: 1
178-
--- !u!23 &664960180
179-
MeshRenderer:
180-
m_ObjectHideFlags: 0
181-
m_PrefabParentObject: {fileID: 0}
182-
m_PrefabInternal: {fileID: 0}
183-
m_GameObject: {fileID: 664960179}
184-
m_Enabled: 1
185-
m_CastShadows: 1
186-
m_ReceiveShadows: 1
187-
m_DynamicOccludee: 1
188-
m_MotionVectors: 1
189-
m_LightProbeUsage: 1
190-
m_ReflectionProbeUsage: 1
191-
m_RenderingLayerMask: 4294967295
192-
m_Materials:
193-
- {fileID: 2100000, guid: b9b8a0fd62a46b642bdf76825df0d2d9, type: 2}
194-
m_StaticBatchInfo:
195-
firstSubMesh: 0
196-
subMeshCount: 0
197-
m_StaticBatchRoot: {fileID: 0}
198-
m_ProbeAnchor: {fileID: 0}
199-
m_LightProbeVolumeOverride: {fileID: 0}
200-
m_ScaleInLightmap: 1
201-
m_PreserveUVs: 0
202-
m_IgnoreNormalsForChartDetection: 0
203-
m_ImportantGI: 0
204-
m_StitchLightmapSeams: 0
205-
m_SelectedEditorRenderState: 3
206-
m_MinimumChartSize: 4
207-
m_AutoUVMaxDistance: 0.5
208-
m_AutoUVMaxAngle: 89
209-
m_LightmapParameters: {fileID: 0}
210-
m_SortingLayerID: 0
211-
m_SortingLayer: 0
212-
m_SortingOrder: 0
213-
--- !u!33 &664960181
214-
MeshFilter:
215-
m_ObjectHideFlags: 0
216-
m_PrefabParentObject: {fileID: 0}
217-
m_PrefabInternal: {fileID: 0}
218-
m_GameObject: {fileID: 664960179}
219-
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
220-
--- !u!4 &664960182
221-
Transform:
222-
m_ObjectHideFlags: 0
223-
m_PrefabParentObject: {fileID: 0}
224-
m_PrefabInternal: {fileID: 0}
225-
m_GameObject: {fileID: 664960179}
226-
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
227-
m_LocalPosition: {x: 0, y: 0, z: 0}
228-
m_LocalScale: {x: 1, y: 1, z: 1}
229-
m_Children: []
230-
m_Father: {fileID: 0}
231-
m_RootOrder: 1
232-
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
164+
serializedVersion: 2
165+
m_Modification:
166+
m_TransformParent: {fileID: 0}
167+
m_Modifications:
168+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
169+
propertyPath: m_LocalPosition.x
170+
value: 0.088
171+
objectReference: {fileID: 0}
172+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
173+
propertyPath: m_LocalPosition.y
174+
value: 0
175+
objectReference: {fileID: 0}
176+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
177+
propertyPath: m_LocalPosition.z
178+
value: -0.15
179+
objectReference: {fileID: 0}
180+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
181+
propertyPath: m_LocalRotation.x
182+
value: 0
183+
objectReference: {fileID: 0}
184+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
185+
propertyPath: m_LocalRotation.y
186+
value: 0.38268343
187+
objectReference: {fileID: 0}
188+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
189+
propertyPath: m_LocalRotation.z
190+
value: 0
191+
objectReference: {fileID: 0}
192+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
193+
propertyPath: m_LocalRotation.w
194+
value: 0.92387956
195+
objectReference: {fileID: 0}
196+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
197+
propertyPath: m_RootOrder
198+
value: 1
199+
objectReference: {fileID: 0}
200+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
201+
propertyPath: m_LocalScale.y
202+
value: 8
203+
objectReference: {fileID: 0}
204+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
205+
propertyPath: m_LocalScale.x
206+
value: 8
207+
objectReference: {fileID: 0}
208+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
209+
propertyPath: m_LocalScale.z
210+
value: 8
211+
objectReference: {fileID: 0}
212+
- target: {fileID: 400002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
213+
propertyPath: m_LocalEulerAnglesHint.y
214+
value: 45
215+
objectReference: {fileID: 0}
216+
- target: {fileID: 100002, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
217+
propertyPath: m_IsActive
218+
value: 1
219+
objectReference: {fileID: 0}
220+
m_RemovedComponents: []
221+
m_ParentPrefab: {fileID: 100100000, guid: d9f0aaf4df4c4a749a2cf806b05998d4, type: 3}
222+
m_IsPrefabParent: 0
233223
--- !u!1 &1199193096
234224
GameObject:
235225
m_ObjectHideFlags: 0
@@ -241,7 +231,7 @@ GameObject:
241231
- component: {fileID: 1199193098}
242232
- component: {fileID: 1199193097}
243233
m_Layer: 0
244-
m_Name: Sphere
234+
m_Name: Flame
245235
m_TagString: Untagged
246236
m_Icon: {fileID: 0}
247237
m_NavMeshLayer: 0
@@ -288,16 +278,16 @@ MeshFilter:
288278
m_PrefabParentObject: {fileID: 0}
289279
m_PrefabInternal: {fileID: 0}
290280
m_GameObject: {fileID: 1199193096}
291-
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
281+
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
292282
--- !u!4 &1199193099
293283
Transform:
294284
m_ObjectHideFlags: 0
295285
m_PrefabParentObject: {fileID: 0}
296286
m_PrefabInternal: {fileID: 0}
297287
m_GameObject: {fileID: 1199193096}
298288
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
299-
m_LocalPosition: {x: 0, y: 0.6, z: 0}
300-
m_LocalScale: {x: 1, y: 1, z: 1}
289+
m_LocalPosition: {x: 0, y: 0.5, z: 0}
290+
m_LocalScale: {x: 1.5, y: 1.5, z: 1.5}
301291
m_Children: []
302292
m_Father: {fileID: 0}
303293
m_RootOrder: 2
@@ -323,14 +313,14 @@ Transform:
323313
m_PrefabParentObject: {fileID: 0}
324314
m_PrefabInternal: {fileID: 0}
325315
m_GameObject: {fileID: 1383165029}
326-
m_LocalRotation: {x: 0.0497744, y: 0.3085935, z: -0.016172683, w: 0.94975317}
327-
m_LocalPosition: {x: 0, y: 0.6, z: 0}
316+
m_LocalRotation: {x: -0.06975647, y: 0, z: 0, w: 0.9975641}
317+
m_LocalPosition: {x: 0, y: 0.5, z: 0}
328318
m_LocalScale: {x: 1, y: 1, z: 1}
329319
m_Children:
330320
- {fileID: 1719846269}
331321
m_Father: {fileID: 0}
332322
m_RootOrder: 0
333-
m_LocalEulerAnglesHint: {x: 6, y: 36, z: 0}
323+
m_LocalEulerAnglesHint: {x: -8, y: 0, z: 0}
334324
--- !u!1 &1719846268
335325
GameObject:
336326
m_ObjectHideFlags: 0
@@ -357,7 +347,7 @@ Transform:
357347
m_PrefabInternal: {fileID: 0}
358348
m_GameObject: {fileID: 1719846268}
359349
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
360-
m_LocalPosition: {x: 0, y: 0, z: -6}
350+
m_LocalPosition: {x: 0, y: 0, z: -1.5}
361351
m_LocalScale: {x: 1, y: 1, z: 1}
362352
m_Children:
363353
- {fileID: 539933974}
@@ -394,9 +384,9 @@ Camera:
394384
y: 0
395385
width: 1
396386
height: 1
397-
near clip plane: 0.3
387+
near clip plane: 0.1
398388
far clip plane: 1000
399-
field of view: 15
389+
field of view: 30
400390
orthographic: 0
401391
orthographic size: 5
402392
m_Depth: -1

Assets/Examples/Flame/Noise.psd

-2.11 MB
Binary file not shown.

Assets/Examples/Flame/Noise.psd.meta

Lines changed: 0 additions & 95 deletions
This file was deleted.

Assets/Examples/Flame/Ramp.psd.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Poly/Acknowledgement.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ The obj files in this directory are published by Google under a CC-BY license.
22
See the following pages for further details.
33

44
Monitor.obj, Commodore 64 Texture.png - https://poly.google.com/view/2D221SHzAER
5+
Kangaroo_01.obj, Kangaroo_01.mtl - https://poly.google.com/view/3yiIERrKNQr

0 commit comments

Comments
 (0)