Final: Illumination

This commit is contained in:
PedroEdiaz
2024-10-17 22:24:54 -06:00
parent 5fc19db1a9
commit 9dabea34d2
9 changed files with 65 additions and 80 deletions

View File

@@ -4,6 +4,9 @@
void set_clean_color_context( unsigned char r, unsigned char g, unsigned char b )
{
glEnable( GL_DEPTH_TEST );
glEnable( GL_CULL_FACE );
glCullFace( GL_BACK );
glClearColor( (float)r/0xff, (float)g/0xff, (float)b/0xff, 1.0 );
}