Removed bloom modification

This commit is contained in:
Pasha Bibko
2025-11-27 15:00:40 +00:00
parent 37c0ad0991
commit eccb70da24

View File

@@ -19,8 +19,6 @@ public class PlayerController : OrbitalPositionBehaviour
private bool m_HasFreeHitActive;
private bool m_HasInvicibility;
private Bloom m_BloomController;
[Header("References")]
[SerializeField] private MeshRenderer m_Renderer;
@@ -31,8 +29,6 @@ public class PlayerController : OrbitalPositionBehaviour
protected override void OnStart()
{
m_BloomController = m_PostProcessVolume.profile.GetSetting<Bloom>();
s_Instance = this;
s_HighScore = Mathf.Max(s_HighScore, PlayerPrefs.GetInt("HighScore", 0));
Debug.Log($"Loaded high score of [{s_HighScore}]");
@@ -45,11 +41,6 @@ public class PlayerController : OrbitalPositionBehaviour
public void Update()
{
if (!m_KillingItself)
{
m_BloomController.diffusion.value = 3f;
}
m_ScoreText.text = s_PlayerScore.ToString();
if (s_PlayerScore > s_HighScore)
m_ScoreText.color = Color.yellow;
@@ -127,8 +118,6 @@ public class PlayerController : OrbitalPositionBehaviour
m_SuicidePoint = transform.position;
m_KillingItself = true;
m_DeathLerp = 0f;
//m_BloomController.diffusion.value = 10f;
}
else if (other.CompareTag("PlayerMod"))