Skip to content

True flat shade model #1

Description

@dxdxdt

Current "flat" program is actually Gouraud shading, which makes rendition slightly different from glxgears on outwards of the gears' teeth.

There are one or two ways to implement flat shading with pure WebGL 1.0 which involve calculating per primitive normal or using dfDx functions. Whatever they are, it's doable. The former one looks promising.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions