浏览代码

New fire effect

/devlogs-4-addressable-assets
Ciro Continisio 4 年前
当前提交
bfe7e497
共有 24 个文件被更改,包括 3158 次插入1853 次删除
  1. 464
      UOP1_Project/Assets/Prefabs/Props/PotOverFire.prefab
  2. 32
      UOP1_Project/Assets/Scenes/Locations/EmptyLocation/LightingData.asset
  3. 2
      UOP1_Project/Assets/Scenes/Locations/EmptyLocation/LightingData.asset.meta
  4. 1001
      UOP1_Project/Assets/Scenes/Locations/EmptyLocation/Lightmap-0_comp_light.exr
  5. 4
      UOP1_Project/Assets/Scenes/Locations/EmptyLocation/Lightmap-0_comp_light.exr.meta
  6. 1001
      UOP1_Project/Assets/Scenes/Locations/EmptyLocation/ReflectionProbe-0.exr
  7. 4
      UOP1_Project/Assets/Scenes/Locations/EmptyLocation/ReflectionProbe-0.exr.meta
  8. 35
      UOP1_Project/Assets/Scenes/WIP/TestingGround.unity
  9. 1000
      UOP1_Project/Assets/Shaders/Fire.shadergraph
  10. 2
      UOP1_Project/Assets/Shaders/Fire.shadergraph.meta
  11. 2
      UOP1_Project/Assets/Shaders/SubGraphs/AdditionalLightsToon.shadersubgraph
  12. 22
      UOP1_Project/UserSettings/EditorUserSettings.asset
  13. 8
      UOP1_Project/Assets/Art/Effects/Fire.meta
  14. 23
      UOP1_Project/Assets/Scripts/Effects/FireLight.cs
  15. 11
      UOP1_Project/Assets/Scripts/Effects/FireLight.cs.meta
  16. 893
      UOP1_Project/Assets/Shaders/Campfire.shadergraph
  17. 10
      UOP1_Project/Assets/Shaders/Campfire.shadergraph.meta
  18. 145
      UOP1_Project/Assets/Art/Effects/Fire/Fire.mat
  19. 8
      UOP1_Project/Assets/Art/Effects/Fire/Fire.mat.meta
  20. 240
      UOP1_Project/Assets/Art/Effects/Fire/Fire.png
  21. 104
      UOP1_Project/Assets/Art/Effects/Fire/Fire.png.meta
  22. 0
      /UOP1_Project/Assets/Art/Effects/Campfire/CampfireMask.png
  23. 0
      /UOP1_Project/Assets/Art/Effects/Campfire/CampfireMask.png.meta

464
UOP1_Project/Assets/Prefabs/Props/PotOverFire.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3270932272120046217
--- !u!1 &1753879815254835231
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}

m_Component:
- component: {fileID: 3270932272120046218}
- component: {fileID: 3270932272120046219}
- component: {fileID: 3270932272120046216}
- component: {fileID: 2543526772642378038}
- component: {fileID: 53842438941790105}
- component: {fileID: 8546672984388189416}
m_Name: Campfire
m_Name: Fire
--- !u!4 &3270932272120046218
--- !u!4 &2543526772642378038
m_GameObject: {fileID: 3270932272120046217}
m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0.15, z: 0}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_Children:
- {fileID: 3270932272345889024}
m_GameObject: {fileID: 1753879815254835231}
m_LocalRotation: {x: -0.7071068, y: 0.00000004470348, z: -0, w: 0.70710677}
m_LocalPosition: {x: 0.041, y: 0.144, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!198 &3270932272120046219
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: -90.00001, y: 0, z: 0}
--- !u!198 &53842438941790105
m_GameObject: {fileID: 3270932272120046217}
serializedVersion: 6
m_GameObject: {fileID: 1753879815254835231}
serializedVersion: 7
lengthInSec: 5
simulationSpeed: 1
stopAction: 0

looping: 1
prewarm: 1
prewarm: 0
playOnAwake: 1
useUnscaledTime: 0
autoRandomSeed: 1

enabled: 1
startLifetime:
serializedVersion: 2
minMaxState: 0
scalar: 5
minScalar: 5
minMaxState: 3
scalar: 1.5
minScalar: 1
maxCurve:
serializedVersion: 2
m_Curve:

serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.9528302, g: 0.5344078, b: 0.25618547, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}

m_NumAlphaKeys: 2
startSize:
serializedVersion: 2
minMaxState: 0
scalar: 1
minScalar: 1
minMaxState: 3
scalar: 0.4
minScalar: 0.3
maxCurve:
serializedVersion: 2
m_Curve:

m_RotationOrder: 4
startSizeY:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 1
minScalar: 1
maxCurve:

m_RotationOrder: 4
startSizeZ:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 1
minScalar: 1
maxCurve:

m_RotationOrder: 4
startRotationX:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 0
minScalar: 0
maxCurve:

m_RotationOrder: 4
startRotationY:
serializedVersion: 2
minMaxState: 0
minMaxState: 3
scalar: 0
minScalar: 0
maxCurve:

m_RotationOrder: 4
startRotation:
serializedVersion: 2
minMaxState: 0
scalar: 0
minMaxState: 3
scalar: 6.283185
minScalar: 0
maxCurve:
serializedVersion: 2

m_RotationOrder: 4
randomizeRotationDirection: 0
maxNumParticles: 1000
size3D: 1
size3D: 0
scalar: 0
scalar: -0.1
minScalar: 0
maxCurve:
serializedVersion: 2

ShapeModule:
serializedVersion: 6
enabled: 1
type: 10
angle: 25
type: 4
angle: 30
length: 5
boxThickness: {x: 0, y: 0, z: 0}
radiusThickness: 1

sphericalDirectionAmount: 0
randomPositionAmount: 0
radius:
value: 0.0001
value: 0.1
mode: 0
spread: 0
speed:

rateOverTime:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 15
minScalar: 10
maxCurve:
serializedVersion: 2

m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BurstCount: 1
m_Bursts:
- serializedVersion: 2
time: 0
countCurve:
serializedVersion: 2
minMaxState: 0
scalar: 1
minScalar: 30
maxCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
minCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
cycleCount: 1
repeatInterval: 0.01
probability: 1
m_BurstCount: 0
m_Bursts: []
enabled: 0
enabled: 1
curve:
serializedVersion: 2
minMaxState: 1

- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 1
inSlope: 21.747345
outSlope: 21.747345
outWeight: 0.33333334
outWeight: 0.18127462
time: 1
time: 0.12578319
inSlope: 1
outSlope: 0
inSlope: 0.0475266
outSlope: 0.0475266
outWeight: 0.18511534
- serializedVersion: 3
time: 0.5175396
value: 0.93231523
inSlope: -0.7717327
outSlope: -0.7717327
tangentMode: 0
weightedMode: 0
inWeight: 0.3103952
outWeight: 0.28434134
- serializedVersion: 3
time: 1
value: 0
inSlope: -1.3193381
outSlope: -1.3193381
tangentMode: 0
weightedMode: 0
inWeight: 0.33757493
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2

m_RotationOrder: 4
separateAxes: 0
ColorModule:
enabled: 0
enabled: 1
gradient:
serializedVersion: 2
minMaxState: 1

serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
key0: {r: 1, g: 1, b: 1, a: 0}
key1: {r: 1, g: 1, b: 1, a: 1}
key2: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}

ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime1: 6470
atime2: 65535
atime3: 65535
atime4: 0
atime5: 0
atime6: 0

m_NumAlphaKeys: 2
m_NumAlphaKeys: 3
minGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}

m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
LifetimeByEmitterSpeedModule:
enabled: 0
m_Curve:
serializedVersion: 2
minMaxState: 1
scalar: 1
minScalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: -0.8
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0.2
inSlope: -0.8
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
minCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
x:

range: {x: 0, y: 1}
CollisionModule:
enabled: 0
serializedVersion: 3
serializedVersion: 4
type: 0
collisionMode: 0
colliderForce: 0

plane0: {fileID: 0}
plane1: {fileID: 0}
plane2: {fileID: 0}
plane3: {fileID: 0}
plane4: {fileID: 0}
plane5: {fileID: 0}
m_Planes:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
m_Dampen:
serializedVersion: 2
minMaxState: 0

interiorCollisions: 0
TriggerModule:
enabled: 0
collisionShape0: {fileID: 0}
collisionShape1: {fileID: 0}
collisionShape2: {fileID: 0}
collisionShape3: {fileID: 0}
collisionShape4: {fileID: 0}
collisionShape5: {fileID: 0}
serializedVersion: 2
colliderQueryMode: 0
primitives:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
SubModule:
serializedVersion: 2
enabled: 0

m_PostInfinity: 2
m_RotationOrder: 4
vectorLabel1_3: W
--- !u!199 &3270932272120046216
--- !u!199 &8546672984388189416
ParticleSystemRenderer:
serializedVersion: 6
m_ObjectHideFlags: 0

m_GameObject: {fileID: 3270932272120046217}
m_GameObject: {fileID: 1753879815254835231}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0

m_ReflectionProbeUsage: 0
m_RayTracingMode: 0
m_RayTraceProcedural: 0
- {fileID: 2100000, guid: 9eaadb2cdec6d774ab8888159179c573, type: 2}
- {fileID: 0}
- {fileID: 2100000, guid: e1c4c0bca2e688548ac27caeffb567a8, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

m_NormalDirection: 1
m_ShadowBias: 0
m_RenderAlignment: 0
m_Pivot: {x: 0, y: 0.3, z: 0}
m_Pivot: {x: 0, y: 0, z: 0}
m_UseCustomVertexStreams: 0
m_UseCustomVertexStreams: 1
m_VertexStreams: 00010304
m_FreeformStretching: 0
m_RotateWithStretchDirection: 1
m_VertexStreams: 000304
m_Mesh: {fileID: 0}
m_Mesh1: {fileID: 0}
m_Mesh2: {fileID: 0}

m_Component:
- component: {fileID: 3270932272345889024}
- component: {fileID: 3270932272345889027}
- component: {fileID: 7253033322322660333}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_NavMeshLayer: 1
m_StaticEditorFlags: 40
m_IsActive: 1
--- !u!4 &3270932272345889024
Transform:

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3270932272345889025}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: -0, z: 0.349}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0.42920005, z: 0}
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
m_Father: {fileID: 3270932272120046218}
m_Father: {fileID: 6231826875607570847}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &3270932272345889027

m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
--- !u!114 &7253033322322660333
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3270932272345889025}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 27ae6556650c5ca48ba9efac7fd2c184, type: 3}
m_Name:
m_EditorClassIdentifier:
lightCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0.0027377706
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.12886812
value: 0.8806507
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.26385027
value: 0.9596227
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.40423295
value: 0.6428436
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5010976
value: 1.0470723
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.57107496
value: 0.9249957
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.66674966
value: 1.0689348
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.74991155
value: 0.8690935
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.8309978
value: 1.0470723
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.93909246
value: 0.78642696
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.0219188
value: 1.0616473
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.0918958
value: 0.9163744
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.1721287
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 1
m_PostInfinity: 1
m_RotationOrder: 4
fireSpeed: 0.5
--- !u!65 &3984010757846302918
BoxCollider:
m_ObjectHideFlags: 0

m_Modifications:
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_LocalPosition.x
value: -8.53
objectReference: {fileID: 0}

type: 3}
propertyPath: m_LocalPosition.z
value: -3.16
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.92614466
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.92614466
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}

objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_StaticEditorFlags
value: 4294967295
propertyPath: m_TagString
value: CookingPot
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: b0825167a36e54267b89182911d1164a,
type: 3}
propertyPath: m_NavMeshLayer
value: 1
propertyPath: m_TagString
value: CookingPot
propertyPath: m_StaticEditorFlags
value: 4294967295
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b0825167a36e54267b89182911d1164a, type: 3}

32
UOP1_Project/Assets/Scenes/Locations/EmptyLocation/LightingData.asset
文件差异内容过多而无法显示
查看文件

2
UOP1_Project/Assets/Scenes/Locations/EmptyLocation/LightingData.asset.meta


guid: 6ae0524cf947c644bb3a5860dc14cc82
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
mainObjectFileID: 112000000
userData:
assetBundleName:
assetBundleVariant:

1001
UOP1_Project/Assets/Scenes/Locations/EmptyLocation/Lightmap-0_comp_light.exr
文件差异内容过多而无法显示
查看文件

4
UOP1_Project/Assets/Scenes/Locations/EmptyLocation/Lightmap-0_comp_light.exr.meta


isReadable: 0
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0

textureType: 6
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3

1001
UOP1_Project/Assets/Scenes/Locations/EmptyLocation/ReflectionProbe-0.exr
文件差异内容过多而无法显示
查看文件

4
UOP1_Project/Assets/Scenes/Locations/EmptyLocation/ReflectionProbe-0.exr.meta


isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1

textureType: 0
textureShape: 2
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3

35
UOP1_Project/Assets/Scenes/WIP/TestingGround.unity
文件差异内容过多而无法显示
查看文件

1000
UOP1_Project/Assets/Shaders/Fire.shadergraph
文件差异内容过多而无法显示
查看文件

2
UOP1_Project/Assets/Shaders/Fire.shadergraph.meta


fileFormatVersion: 2
guid: 9910b923a7ae9c64bbd9e10995d179ca
guid: 5431e104f52c3b74eba0dd4f796210bc
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}

2
UOP1_Project/Assets/Shaders/SubGraphs/AdditionalLightsToon.shadersubgraph
文件差异内容过多而无法显示
查看文件

22
UOP1_Project/UserSettings/EditorUserSettings.asset


serializedVersion: 4
m_ConfigSettings:
RecentlyUsedScenePath-0:
value: 22424703114646680e0b0227036c683926583938381b2e3f3a2a1c20e7ae2136ebf32f
value: 22424703114646680e0b0227036c731f15160c232326357f0a251c37e7ae2136ebf32f
value: 22424703114646680e0b0227036c761e1f03112b20213c313920123dacf53a31f6fe
value: 22424703114646680e0b0227036c683926583938381b2e3f3a2a1c20e7ae2136ebf32f
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3076f7e93ffdfe
value: 22424703114646680e0b0227036c68181f031d2823302f3e2a664e7da2d43b2feca806fbe82a302f380ed06f4b0a0e28fc353919f91b05181002c25d5fea1e1a05dc
value: 22424703114646680e0b0227036c731f15160c232326357f0a251c37e7ae2136ebf32f
value: 22424703114646680e0b0227036c761e1f03112b20213c313920123dacf53a31f6fe
flags: 0
RecentlyUsedScenePath-5:
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3076f7e93ffdfe
flags: 0
RecentlyUsedScenePath-6:
value: 22424703114646680e0b0227036c731f15160c232326357f08240d27fbcc3b3be3f33fe6e9742a323016f6
flags: 0
UnityEditor.ShaderGraph.Blackboard:
value: 18135939215a0a5004000b0e15254b524c030a3f2964643d120d1230e9e93a3fd6e826abbd2e2d293c4ead313b08042de6030a0afa240c0d020be94c4ba75e435d8715fa32c70d15d11612dacc11fee5d3c5d1fe9ab1bf968e93e2ffcbc3e7e2f0b3ffe0e8b0be9af8ffaeffff8e85dd8390e3949c8899daa7
value: 181344140043005e1a220d3b1f364b524c0c5a27130c293326201334cee5322ca0bd30e8eb293a707b0fd0180b3d0a36fc0d3d04e649500d1002ee0b5dbd1d2c27c00ad113cb1e10e41f1addc80993b984809aba94a9eae7f6d0b2fbeeffe0ecf4fd8afdacbbf9d4e8f5afe0e1928b86ccf584cdd6c38b9da190c991e482808a9786c994c0c5828a8fdeeeddbf8debe691ada5959ea796aa8f9ab0b379bcba74243d73f8b187928fbeb2648d755c818e6635dc6d659f8ac0cb9f40a89b8d9a864c9dad9456d9c08f738b48d223425f5564477c5c695963435d6f7f5b492f7b226b76683825445f273c262a4d4a547f446a4733583f2c0e0a6a711e4d7d5f686758400216064d1b4f487873765b6d726f6b3f577c7a457d6579002d5170ed3627f73426d6f730ff32e8f9df0bea067daaedb5e048565954474359b151db824e4990905899da07
value: 181344140043005e1a220d3b1f364b524c0c5a27130c293326201334cee5322ca0bd30e8eb293a707b0fd0180b3d0a36fc0d3d04e649500d1002ee0b5dbd1d2c27c00ad113cb1e10e41f1addc80993b984809aba94a9eae7f6d0b2fbeeffe0ecf4fd8afdacbbf9d4e8f5afe0e1928b86ccf584cdd6c38b9da190c991e482808a9786c994c0c5828a8fdeeeddbf8dba
flags: 0
UnityEditor.ShaderGraph.InspectorWindow:
value: 18135939215a0a5004000b0e15254b524c1119263f2d6a722016393ce1eb3d36e5d339f9a5602b2e2c07a37e0901373ae01e0008f707250d171df81a53a5485d41895ac825e0100ec20313c0d91cddccd3d0c7efcca9bd80908fecb0f9cfddf1eff4e7a1b1eae482f0fcaee1e1928b86d888ed969b938797a7cf
flags: 0
UnityEditor.ShaderGraph.ToggleSettings:
value: 18135d1527590858060c032302276919051e1a26296a7c243f3c187fa0e92708f0e220e0e22d09352a0bed30017c5b39f3061a0eba4909041d01ef3e03f0061a15c00a87408a4332c41719908f00

8
UOP1_Project/Assets/Art/Effects/Fire.meta


fileFormatVersion: 2
guid: 27ea698b65de0ab4299617a48ff72cfc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

23
UOP1_Project/Assets/Scripts/Effects/FireLight.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireLight : MonoBehaviour
{
public AnimationCurve lightCurve;
public float fireSpeed = 1f;
private Light _lightComp;
private float _initialIntensity;
private void Awake()
{
_lightComp = GetComponent<Light>();
_initialIntensity = _lightComp.intensity;
}
void Update()
{
_lightComp.intensity = _initialIntensity * lightCurve.Evaluate(Time.time * fireSpeed);
}
}

11
UOP1_Project/Assets/Scripts/Effects/FireLight.cs.meta


fileFormatVersion: 2
guid: 27ae6556650c5ca48ba9efac7fd2c184
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

893
UOP1_Project/Assets/Shaders/Campfire.shadergraph
文件差异内容过多而无法显示
查看文件

10
UOP1_Project/Assets/Shaders/Campfire.shadergraph.meta


fileFormatVersion: 2
guid: 9910b923a7ae9c64bbd9e10995d179ca
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

145
UOP1_Project/Assets/Art/Effects/Fire/Fire.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Fire
m_Shader: {fileID: -6465566751694194690, guid: 5431e104f52c3b74eba0dd4f796210bc,
type: 3}
m_ShaderKeywords: _ALPHATEST_ON _COLORADDSUBDIFF_ON
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- AAA:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_AB0B67DA:
m_Texture: {fileID: 2800000, guid: 3262652db70223249b6ae87063e087d9, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Base:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseColor:
m_Texture: {fileID: 2800000, guid: 3262652db70223249b6ae87063e087d9, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 2800000, guid: 3262652db70223249b6ae87063e087d9, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainColor:
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}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
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_Floats:
- _AlphaClip: 1
- _Blend: 2
- _BlendOp: 0
- _BumpScale: 1
- _CameraFadingEnabled: 0
- _CameraFarFadeDistance: 2
- _CameraNearFadeDistance: 1
- _ColorMode: 1
- _Cull: 2
- _Cutoff: 0.155
- _DistortionBlend: 0.473
- _DistortionEnabled: 0
- _DistortionStrength: 4.4
- _DistortionStrengthScaled: 0.44000003
- _DstBlend: 1
- _EmissionEnabled: 0
- _EnvironmentReflections: 1
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _LightingEnabled: 0
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
- _SoftParticlesFarFadeDistance: 1
- _SoftParticlesNearFadeDistance: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _BaseColorAddSubDiff: {r: 1, g: 0, b: 0, a: 0}
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _ColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
--- !u!114 &1469206375383307847
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 2

8
UOP1_Project/Assets/Art/Effects/Fire/Fire.mat.meta


fileFormatVersion: 2
guid: e1c4c0bca2e688548ac27caeffb567a8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

240
UOP1_Project/Assets/Art/Effects/Fire/Fire.png

之前 之后
宽度: 512  |  高度: 512  |  大小: 56 KiB

104
UOP1_Project/Assets/Art/Effects/Fire/Fire.png.meta


fileFormatVersion: 2
guid: 3262652db70223249b6ae87063e087d9
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 2
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

/UOP1_Project/Assets/Art/Effects/Campfire/FireMask.png → /UOP1_Project/Assets/Art/Effects/Campfire/CampfireMask.png

/UOP1_Project/Assets/Art/Effects/Campfire/FireMask.png.meta → /UOP1_Project/Assets/Art/Effects/Campfire/CampfireMask.png.meta

正在加载...
取消
保存