From 580f98de6babae2bcc98151c080eeaa7c155abe1 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 13 Feb 2026 10:28:20 -0800 Subject: Ambient lighting --- src/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 260d215..cf6bd26 100644 --- a/src/main.c +++ b/src/main.c @@ -331,6 +331,7 @@ static bool Render(State* state) { }; sgTrianglesIndexed(state->gfx, 3, indices, positions, texcoords);*/ sgLighting(state->gfx); + sgAmbient(state->gfx, (sgVec3){1,1,1}); sgGammaInv(state->gfx, sgColourBuffer(state->gfx), BufferWidth, BufferHeight); sgPresent(state->gfx, WindowDims, window_surface->pixels); -- cgit v1.2.3