First edit for framebuffers but it's slapped together and doesn't work yet.

This commit is contained in:
Zed A. Shaw 2026-08-31 11:45:26 -04:00
parent c32e7bd00d
commit ea80851450
8 changed files with 113 additions and 11 deletions

View file

@ -8,6 +8,10 @@
"vertex_path": "shaders/19-vert.glsl",
"frag_path": "shaders/19-lightsource.frag.glsl"
},
"screen_shader": {
"vertex_path": "shaders/21-screen.vert.glsl",
"frag_path": "shaders/21-screen.frag.glsl"
},
"materials": {
"default": {
"ambient": [0.5, 0.5, 0.5],
@ -57,11 +61,11 @@
"rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]},
"scale": 1.0,
"material": "default"},
{"model": "window", "position": [1.75, 0.25, 0.25],
{"model": "window", "position": [1.5, 0.25, 0.0],
"rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]},
"scale": 1.0,
"material": "shiny"},
{"model": "window", "position": [1.5, 0.25, 0.0],
{"model": "window", "position": [1.75, 0.25, 0.25],
"rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]},
"scale": 1.0,
"material": "shiny"}