Skip to content

Commit

Permalink
Add pulsating material and smoke to exploding barrels
Browse files Browse the repository at this point in the history
  • Loading branch information
Fueredoriku committed Jun 26, 2024
1 parent 63a6d40 commit d3bf48f
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 94 deletions.
11 changes: 9 additions & 2 deletions Assets/Materials/Props/ExplodingBarrel.mat
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ExplodingBarrel
m_Shader: {fileID: -6465566751694194690, guid: f8ec4cafbe9538b4aa600770a5a8bf02, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 47658d4b501a04a40a24c4eec631a846, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- MAIN_LIGHT_CALCULATE_SHADOWS
- _MAIN_LIGHT_SHADOWS_CASCADE
- _SHADOWS_CASCADE
- _SHADOWS_SOFT
m_InvalidKeywords: []
m_LightmapFlags: 4
Expand Down Expand Up @@ -58,6 +58,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Metallic_Map:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Metallic_Texture:
m_Texture: {fileID: 2800000, guid: a352cc10e02c3b74fab6d96cbf170298, type: 3}
m_Scale: {x: 1, y: 1}
Expand Down Expand Up @@ -122,9 +126,11 @@ Material:
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _PulseStrength: 0.7
- _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _SHADOWS_CASCADE: 1
- _SHADOWS_SOFT: 1
- _Shadow_Texture: 0
- _Smoothness: 0.51
Expand All @@ -142,6 +148,7 @@ Material:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _PulseColor: {r: 0.9339623, g: 0.20617655, b: 0.20617655, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Texture_Tiling: {r: 1, g: 1, b: 0, a: 0}
m_BuildTextureStacks: []
Expand Down
Loading

0 comments on commit d3bf48f

Please sign in to comment.