Skip to content

es2gears: fix rendering

There's a few things that cause a mismatch between the rendering of glxgears and ws2gears:

  1. The camera is positioned incorrectly
  2. The projection matrix is calculated incorrectly
  3. The ambient light term is missing
  4. The inner face is flat-shaded rather than smooth-shaded

These three patches fix all of these issues, making the rendering of es2gears match glxgears.

Edited by Erik Faye-Lund

Merge request reports