Search Unity

[SOLVED] Lines of two sided mesh.

Discussion in 'General Graphics' started by ThaBullfrog, Jan 17, 2017.

  1. ThaBullfrog

    ThaBullfrog

    Joined:
    Mar 14, 2013
    Posts:
    49


    See dem lines?
    Take a closer look:



    The mesh is a helmet. I am not using a two sided shader. The mesh has both sides modeled. I have tried making it thicker to the point beyond which it would look incredibly silly, and the lines are still there.

    How do I get rid of them?

    Thanks

    I suppose it could be unrelated to having a two sided mesh, but I haven' had this with any other mesh.
     
    Last edited: Jan 17, 2017
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    No. Ermm maybe -
    Are you talking about the green plane wireframe lines showing through the helmet? They are not visible in your game view are they?
    This might be related to your graphic card.
     
  3. ThaBullfrog

    ThaBullfrog

    Joined:
    Mar 14, 2013
    Posts:
    49
    Zoom in on the left side of the helmet. There's jagged lines. They do appear when the game is playing.
     
  4. AkiraWong89

    AkiraWong89

    Joined:
    Oct 30, 2015
    Posts:
    662
    Hmm. Maybe you have double / very close vertices there?
     
  5. ThaBullfrog

    ThaBullfrog

    Joined:
    Mar 14, 2013
    Posts:
    49
    The closest vertices are about 0.02 units apart.

    EDIT: I seem to have solved the problem while working on something unrelated. In Blender I enabled Auto Smooth on the mesh. Weird that it fixed my problem.
     
    Last edited: Jan 17, 2017