mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 07:49:05 +00:00
LibGL+LibSoftGPU: Implement normalization of normals
* LibGL now supports the `GL_NORMALIZE` capability * LibSoftGPU transforms and normalizes the vertices' normals Normals are heavily used in texture coordinate generation, to be implemented in a future commit.
This commit is contained in:
parent
e056cf7e3f
commit
3a5f69b6f3
Notes:
sideshowbarker
2024-07-17 21:56:38 +09:00
Author: https://github.com/gmta
Commit: 3a5f69b6f3
Pull-request: https://github.com/SerenityOS/serenity/pull/11496
Reviewed-by: https://github.com/sunverwerth ✅
4 changed files with 38 additions and 4 deletions
|
@ -206,6 +206,7 @@ private:
|
|||
GLclampf m_alpha_test_ref_value = 0;
|
||||
|
||||
bool m_dither_enabled { true };
|
||||
bool m_normalize { false };
|
||||
|
||||
// Stencil configuration
|
||||
bool m_stencil_test_enabled { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue