True flat shade model
Opened this issue · 0 comments
dxdxdt commented
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.