Search Unity

Resolved Material Makes Gameobject Transparent... Not what I want!

Discussion in 'General Graphics' started by EnderSkelly34, Jan 25, 2022.

  1. EnderSkelly34

    EnderSkelly34

    Joined:
    Jun 13, 2020
    Posts:
    27
    Hello, and thanks for taking the time to read this. I am following a simple tutorial for a hexmap, as I want to utilize/learn how hexmapping can be used and how it works. I imported a model from blender from said youtube tutorial (a simple transparent hex). However, whenever assigning a material (I am just dragging it on. Opaque, Green. Default Shader), the hex goes transparent, and is unclickable in scene view. In my searches on google, I suspect this has something to do with a UV map, but I am not sure. Does anyone know what issue I am facing? If it is a UV map, Can someone explain how and what a UV map is?

    Here are some pictures:

    Hex Model in Inspector: (This model has an empty gameobject as a parent.)

    Screenshot 2022-01-24 194907.png

    Material in Inspector:

    Screenshot 2022-01-24 194943.png Screenshot 2022-01-24 194943.png
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,639
    Is it completely transparent? Probably flipped faces.
     
  3. EnderSkelly34

    EnderSkelly34

    Joined:
    Jun 13, 2020
    Posts:
    27
    @kdgalla it was, but I already fixed that once I realized that. However, now it takes the material and makes it significantly darker. Green is just black. Light green, is REALLY dark green.
     
  4. EnderSkelly34

    EnderSkelly34

    Joined:
    Jun 13, 2020
    Posts:
    27
    I just forgot to use unlit shader...
     
  5. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,639
    You can use a lit shader too. You just need to have enough light, in that case. :D