Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Vertical stripes on custom mesh surface

Discussion in 'General Graphics' started by Dustin27, Jul 22, 2019.

  1. Dustin27

    Dustin27

    Joined:
    Nov 12, 2018
    Posts:
    15
    Hi guys,

    I'm creating a custom mesh via script and the final object has some strange vertical stripes on its surface.
    They (almost) disappear when I increase the "Smoothness" and the "Metallic" of the material or when I rotate the object to certain degrees (60, 150, 240, 330) like you can see in the attached pictures.
    Changing shader does not improve anything. Does anybody know how to remove these stripes?

    Kind regards
     

    Attached Files:

  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,019
    Dustin27 likes this.
  3. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,255
    Looks like your custom mesh has some odd normals too. That will affect how effective the Normal Bias setting is, and make shadow acne more obvious.
     
    Dustin27 likes this.
  4. Dustin27

    Dustin27

    Joined:
    Nov 12, 2018
    Posts:
    15
    Thanks guys, I was able to eliminate the stripes a bit with the Bias option.

    What do you mean with odd normals? Is there something wrong about my mesh? Did I may set uv not correct?
     
  5. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,381
    Dustin27 likes this.