Skip to content
  • Flavien BRIDAULT's avatar
    enh(viz): improve flat shading by using fragment shader computed normals · 911a64d5
    Flavien BRIDAULT authored
    Flat shading may often be broken if point normals are shared between faces. To overcome this, we chose to compute normals in the fragment shader using eye position derivatives.
    Doing so, the outdated and never used Gouraud shading mode was removed. This removes a shader combination which makes maintenance easier.
    911a64d5