1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 08:01:00 +00:00
serenity/Userland/Libraries/LibGL
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 LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
Tex LibGL: Remove stubbed border from glTexImage2D 2021-12-27 11:58:43 +01:00
CMakeLists.txt LibGL: Stub lots of map-related methods 2021-12-27 11:58:43 +01:00
GLBlend.cpp Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00
GLColor.cpp LibGL: Implement glColor3d and glColor3ubv 2022-01-11 23:47:42 +01:00
GLContext.cpp LibGL: Support missing context in glGetError and glGetIntegerv 2021-12-12 21:51:08 +01:00
GLContext.h LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
GLDraw.cpp LibGL: Stub glPointSize 2022-01-11 23:47:42 +01:00
GLFog.cpp LibGL: Implement glFogi 2021-08-25 23:50:54 +04:30
GLLights.cpp LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
GLLists.cpp LibGL: Implement glIsList 2021-12-12 21:51:08 +01:00
GLMap.cpp LibGL: Stub lots of map-related methods 2021-12-27 11:58:43 +01:00
GLMat.cpp LibGL: Implement glRotated 2022-01-11 23:47:42 +01:00
GLStencil.cpp LibGL: Stub glStencilMask 2022-01-13 10:07:45 +02:00
GLTexture.cpp LibGL: Implement glIsTexture 2022-01-13 12:13:40 +01:00
GLUtils.cpp Ports+LibGL: Replace LibGL context check by ScummVM patch 2022-01-12 14:54:18 +01:00
GLVert.cpp LibGL: Implement glTexCoord{1,3,4}f(v) 2022-01-13 10:07:45 +02:00
GLVertexArrays.cpp LibGL: Implement glDrawElements 2021-08-14 12:49:29 +02:00
SoftwareGLContext.cpp LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
SoftwareGLContext.h LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00