Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Emission intensity no longer works like it used too

Discussion in 'General Graphics' started by Shadowing, Apr 9, 2022.

  1. Shadowing

    Shadowing

    Joined:
    Jan 29, 2015
    Posts:
    1,647
    In the past I used to beable do something like this below and it would give me a nice increase to the intensity but now it makes it 8 plus and I can't seem to make it go less no matter how low the number I use to times it by.

    Code (csharp):
    1.  
    2.  
    3.  float CenterButtonEmissionAmount = 3f;
    4.  
    5.            CenterButton.material.SetColor("_EmissionColor",new Color(DefaultLightColor.r * CenterButtonEmissionAmount, DefaultLightColor.g * CenterButtonEmissionAmount, DefaultLightColor.b * CenterButtonEmissionAmount));
    6.  
    7.  
    I've tried .0000002 for CenterButtonEmissionAmount and it barely makes a difference.
    I don't understand whats going on.
     
    Last edited: Apr 9, 2022