Skip to content

Commit

Permalink
Update emmision levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Legorobotdude committed Apr 4, 2018
1 parent e55e8ee commit 0158342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/Scripts/EnemyAI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ override protected void Die()
Debug.Log("Die new");
foreach (Material mat in m_Material)
{
mat.SetColor("_EmissionColor", Color.yellow* Mathf.LinearToGammaSpace(5));
//mat.SetColor("_EmissionColor", Color.yellow* Mathf.LinearToGammaSpace(5));
mat.SetColor("_EmissionColor", Color.yellow*5);
}
//m_Material.SetColor ("_EmissionColor", Color.yellow);
}
Expand Down

0 comments on commit 0158342

Please sign in to comment.