Shadows working but look dumb. The issue so far was that framebuffer.cpp interferes with the framebuffer used to create the shadow map.

This commit is contained in:
Zed A. Shaw 2026-09-19 15:09:46 -04:00
parent a29494325b
commit 482ec07fb3
19 changed files with 261 additions and 206 deletions

View file

@ -43,9 +43,9 @@
}
},
"models": {
"marble_cube": {
"directory": "assets",
"model_path": "marble_cube.glb"
"backpack": {
"directory": "../assets/backpack/",
"model_path": "backpack.obj"
},
"metal_floor": {
"directory": "assets",
@ -61,14 +61,10 @@
}
},
"things": [
{"model": "marble_cube", "position": [1.5, 0.0, -1.0],
{"model": "backpack", "position": [1.5, 0.0, -1.0],
"rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]},
"scale": 3.0,
"material": "default"},
{"model": "marble_cube", "position": [1.5, 0.25, 0.0],
"rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]},
"scale": 1.0,
"material": "shiny"}
"material": "default"}
],
"camera": {
"position": [0.0, 0.1, 3.0],