mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 14:11:00 +00:00
When `GL_COLOR_MATERIAL` is enabled, specific material parameters can be overwritten by the current color per-vertex during the lighting calculations. Which parameter is controlled by `glColorMaterial`. Also move the lighting calculations _before_ clipping, because the spec says so. As a result, we interpolate the resulting vertex color instead of the input color. |
||
|---|---|---|
| .. | ||
| gl.h | ||
| glext.h | ||
| glplatform.h | ||