Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: glDrawElements with flat shading

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member Newbie
    Join Date
    Oct 2017
    Posts
    11

    glDrawElements with flat shading

    Since flat shading doesn't need lighting information for each vertex, there should only be one sample for every face. However, is this possible to do in a compact format that avoids any redundancy? Doing it the conventional way for something as perfect as a cube would yield four times as many vertices as is required in theory, which is far from ideal. Plato would be rolling in his grave.
    Last edited by silikone; 11-06-2017 at 06:40 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •