1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 14:11:00 +00:00
serenity/Userland/Libraries/LibGL/GL
Jelle Raaijmakers 8e935ad3b1 LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL
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.
2022-01-13 12:13:58 +01:00
..
gl.h LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
glext.h LibGL: Add glext.h and lots of new defines in gl.h 2021-12-27 11:58:43 +01:00
glplatform.h LibGL: Add glext.h and lots of new defines in gl.h 2021-12-27 11:58:43 +01:00