Zemanzo / web-marbles

Aims to recreate Marble Racing from the ground up, as a fully web based game
https://playmarbl.es/
GNU General Public License v3.0
23 stars 12 forks source link

Shadow map range improvements #187

Open Qaomen opened 5 years ago

Qaomen commented 5 years ago

Description The shadow map is rendered with a static camera aimed at the world's origin. If a level is large enough, parts of the level can out-range that camera, causing no shadows to appear. If we make the shadow map's camera follow the client camera's position, this wouldn't be noticeable at close range, and may even allow us to reduce the shadow map size without making it incredibly obvious.

Minimum Acceptance Criteria

Optional Acceptance Criteria