ladybird/Userland/Libraries/LibSoftGPU
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
..
Light LibGL+LibSoftGPU: Calculate spotlight cutoff angle as degrees 2022-01-13 12:13:58 +01:00
AlphaBlendFactors.h LibSoftGPU: Move alpha blend factor setup out of triangle rasterization 2022-01-09 16:21:13 +03:30
Clipper.cpp LibSoftGPU: Also interpolate normal during triangle clipping 2022-01-09 16:21:13 +03:30
Clipper.h LibGL+LibSoftGPU: Move Vertex and Triangle structs to LibSoftGPU 2021-12-24 05:10:28 -08:00
CMakeLists.txt LibSoftGPU: Vectorize texture sampling and shading 2022-01-09 16:21:13 +03:30
Config.h LibGL+LibSoftGPU: Add GL_MAX_LIGHTS to get_context_parameter 2022-01-12 13:36:56 +01:00
DepthBuffer.cpp
DepthBuffer.h
Device.cpp LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
Device.h LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
DeviceInfo.h LibGL+LibSoftGPU: Add GL_MAX_LIGHTS to get_context_parameter 2022-01-12 13:36:56 +01:00
Enums.h LibGL+LibSoftGPU: Implement glColorMaterial and GL_COLOR_MATERIAL 2022-01-13 12:13:58 +01:00
Image.cpp LibSoftGPU: Use bitwise and instead of modulus operator for POT textures 2022-01-09 16:21:13 +03:30
Image.h LibSoftGPU: Use bitwise and instead of modulus operator for POT textures 2022-01-09 16:21:13 +03:30
ImageDataLayout.h LibSoftGPU: Add methods to read and write image data 2021-12-24 05:10:28 -08:00
ImageFormat.h LibGL: Optimize float divisions in unpack_color 2021-12-30 14:24:29 +01:00
PixelQuad.h LibSoftGPU: Add PixelQuad struct that holds data for each rendered quad 2022-01-09 16:21:13 +03:30
Sampler.cpp LibSoftGPU: Use bitwise and instead of modulus operator for POT textures 2022-01-09 16:21:13 +03:30
Sampler.h LibSoftGPU: Vectorize texture sampling and shading 2022-01-09 16:21:13 +03:30
SIMD.h LibSoftGPU: Add SIMD.h with SoftGPU specific SIMD functions 2022-01-09 16:21:13 +03:30
Triangle.h LibGL+LibSoftGPU: Move Vertex and Triangle structs to LibSoftGPU 2021-12-24 05:10:28 -08:00
Vertex.h LibGL+LibSoftGPU: Implement eye, clip, NDC and window coordinates 2021-12-30 14:24:29 +01:00