This commit is contained in:
Anuken
2020-04-22 14:22:33 -04:00
parent b3f936acb8
commit 67d87f023b
4 changed files with 8 additions and 9 deletions

View File

@@ -203,7 +203,7 @@ public class LightRenderer{
Draw.color();
Shaders.light.ambient.set(state.rules.ambientLight);
Draw.shader(Shaders.light);
Draw.rect(Draw.wrap(buffer.getTexture()), Core.camera.position.x, Core.camera.position.y, Core.camera.width, -Core.camera.height);
Draw.rect(buffer);
Draw.shader();
lights.clear();