Search Unity

Bug Why are the sides of an imported Blender mesh not showing up correctly?

Discussion in 'General Graphics' started by jordanpeper, May 19, 2023.

  1. jordanpeper

    jordanpeper

    Joined:
    May 8, 2023
    Posts:
    5
    I created a cylinder in Blender with a shape key to vary the thickness of the interior wall. It works and looks great in Blender, but for some reason is not rendering properly in Unity. Some faces are invisible from different perspectives, and you can see completely through the interior wall. Does anyone know why this is happening?
    Screenshot 2023-05-19 130824.png Screenshot 2023-05-19 130854.png
     
  2. arkano22

    arkano22

    Joined:
    Sep 20, 2012
    Posts:
    1,924
    One word: normals.

    More than one word: the normal vector of these faces is flipped. In 3D software there's something called "backface culling": faces that are not looking towards the camera are not rendered, to save resources. Blender has backface culling disabled by default, and Unity has it enabled by default.

    Select those faces in Blender and flip their normals. Also, see:
    https://artisticrender.com/what-is-backface-culling-and-when-is-it-useful-in-blender/
     
    jordanpeper likes this.