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

[Procedural meshes] Normals are a vertexproperty or a triangle property

Discussion in 'General Graphics' started by Nutaaq, Sep 9, 2018.

  1. Nutaaq

    Nutaaq

    Joined:
    Jan 9, 2016
    Posts:
    10
    Hi everyone.

    I'm doing a course un Udemy about mesh procedural creation and a doubt came to my mind... ¿Are normals referenced to the vertex or to the faces?

    Thanks
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,255
    For real time rendering on GPUs, the normal is on the vertex. Polygon faces only exist as lists of vertices, and generally only as triangles.
     
  3. Nutaaq

    Nutaaq

    Joined:
    Jan 9, 2016
    Posts:
    10
    Thanks bgolus. Its clear now.