1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +00:00

LibGL: Implement glFogfv

This currently just sets the fog colour in the rasterizer.
This commit is contained in:
Jesse Buhagiar 2021-08-25 01:10:19 +10:00 committed by Ali Mohammad Pur
parent ffa7da0ca5
commit 7f1cd54b80
7 changed files with 45 additions and 0 deletions

View file

@ -33,6 +33,12 @@ struct RasterizerOptions {
float depth_max { 1 };
GLenum depth_func { GL_LESS };
GLenum polygon_mode { GL_FILL };
FloatVector4 fog_color {
0.0f,
0.0f,
0.0f,
0.0f,
};
};
class SoftwareRasterizer final {