mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibGL: Implement the GL_LIGHTING
parameter
This commit is contained in:
parent
b1ac181537
commit
b89524c981
Notes:
sideshowbarker
2024-07-17 22:50:38 +09:00
Author: https://github.com/gmta
Commit: b89524c981
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
3 changed files with 13 additions and 0 deletions
|
@ -357,6 +357,8 @@ private:
|
|||
|
||||
float m_line_width { 1.0f };
|
||||
|
||||
// Lighting configuration
|
||||
bool m_lighting_enabled { false };
|
||||
FloatVector4 m_light_model_ambient { 0.2f, 0.2f, 0.2f, 1.0f };
|
||||
GLfloat m_light_model_two_side { 0.0f };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue