Search Unity

Question Why is the Canvas in my Game greying everything else?

Discussion in 'UGUI & TextMesh Pro' started by Media_Malte, Mar 11, 2023.

  1. Media_Malte

    Media_Malte

    Joined:
    Jul 27, 2022
    Posts:
    18
    So I just started to make a new 2D Clicker game and I set the MainCamera Background to completely Black but when I go into the Game Mode, the Background is greyed. When I disable the Canvas, everything is fine and the Game Mode is Black but when it is enabled everything is grey. Why is that? Do I have to set another Background Color for the Canvas? How do I make the Background in Game Mode also completely Black? upload_2023-3-12_0-55-23.png
     
  2. QuinnWinters

    QuinnWinters

    Joined:
    Dec 31, 2013
    Posts:
    494
    Your canvas has a panel in it. Panels come default with an image component with a white color and an alpha of 100. The black background combined with the white color with alpha 100 creates grey. Remove the image component from the panel or set the alpha of its color to 0.
     
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,492
    Wrong forum, please use the the UI forum.

    I'll move your post for you.