making particles look better

This commit is contained in:
André Cardoso 2021-03-02 23:19:15 +01:00
parent 47ff6f9164
commit d249534263
3 changed files with 35 additions and 9693 deletions

View File

@ -9,8 +9,8 @@ Material:
m_PrefabAsset: {fileID: 0}
m_Name: ParticleMaterial
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords: _NORMALMAP _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A _SPECULAR_SETUP
m_LightmapFlags: 6
m_ShaderKeywords: _NORMALMAP _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2000
@ -101,12 +101,12 @@ Material:
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.3443396, g: 1, b: 0.73684895, a: 1}
- _BaseColor: {r: 0, g: 1, b: 0.5988023, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 445.72195, g: 445.72195, b: 445.72195, a: 1}
- _SpecColor: {r: 0.103773594, g: 0.103773594, b: 0.103773594, a: 1}
m_BuildTextureStacks: []
--- !u!114 &5268476566877677707

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@ public class ShootingSystem : MonoBehaviour
parentController.DOComplete();
Vector3 forward = -parentController.forward;
Vector3 localPos = parentController.localPosition;
parentController.DOLocalMove(localPos - new Vector3(0, 0, .1f), .03f)
parentController.DOLocalMove(localPos - new Vector3(0, 0, .2f), .03f)
.OnComplete(() => parentController.DOLocalMove(localPos,.1f).SetEase(Ease.OutSine));
freeLookCamera.GetComponent<CinemachineImpulseSource>().GenerateImpulse();