trying to add better lighting

This commit is contained in:
JISAUAY committed 2024-09-25 17:41:43 -05:00
1 parent 2b1fa60212
commit ce888f5ac0
17 files changed
+129 -12362

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ public class Engine
public static final float Z_FAR = 1000.0f;
public static final float Z_NEAR = 0.1f;
public static final float FOV = (float) Math.toRadians(90.0f);
public static final boolean WIREFRAME_MODE = false;
public Engine(String window_title, Window.WindowOptions opts, GameLogic gameLogic) {
window = new Window(window_title, opts, () -> {
resize();
@@ -28,7 +28,7 @@ public class Engine
target_ups = opts.ups;
this.gameLogic = gameLogic;
this.render = new Render();
this.render = new Render(window);
this.world = new World();
gameLogic.init(window, world, render);