Improved the shadows with a larger texture, PCF for the edges, and only calculating the shadows once.

This commit is contained in:
Zed A. Shaw 2026-09-21 14:49:59 -04:00
parent 621c355876
commit 4747d297e8
4 changed files with 49 additions and 25 deletions

View file

@ -84,11 +84,11 @@
{"model": "human", "position": [1.28, 0.0, 1.85],
"rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]},
"scale": 1.0,
"material": "shiny"},
"material": "default"},
{"model": "human", "position": [3.13, 0.80, 3.04],
"rotation": {"angle": 0.0, "axes": [1.0, 1.0, 1.0]},
"scale": 1.0,
"material": "shiny"},
"material": "default"},
{"model": "window", "position": [1.5, 0.25, 0.0],
"rotation": {"angle": 90.0, "axes": [1.0,0.0,0.0]},
"scale": 1.0,
@ -107,8 +107,6 @@
},
"light": {
"directional": [
],
"positioned": [
{
"position": [-2.0, 4.0, -1.0],
"direction":[0.0, 0.0, 0.0],
@ -123,6 +121,8 @@
"on": true
}
],
"positioned": [
],
"spot": [
],
"camera": {