Search Unity

SOLVED - adding color to a cube

Discussion in 'Getting Started' started by Sterile_D, May 21, 2019.

  1. Sterile_D

    Sterile_D

    Joined:
    Apr 6, 2015
    Posts:
    16
    I am trying to add a yellow color to a cube in my scene. Right now it looks like the picture below.
    upload_2019-5-21_11-28-14.png

    I then create a new material and make it yellow. When I drag it to the cube it just turns black. Like this:
    upload_2019-5-21_11-29-56.png


    Would anyone know how to fix this? I have added color to cubes before without this happening. I am guessing it is caused by a setting that I don't understand.
     
  2. Sterile_D

    Sterile_D

    Joined:
    Apr 6, 2015
    Posts:
    16
    Okay I have an update. I am able to change the material when in 3D mode. This project is in 2D mode. I created a second 2D mode project for testing. I am not able to update that color either. Any help would be appreciated.
     
  3. Sterile_D

    Sterile_D

    Joined:
    Apr 6, 2015
    Posts:
    16
    I figured it out. I needed to change the shader to unlit/color.
     
    tacman1123 likes this.