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

Fixed shadows that vanished #188

Closed Zemanzo closed 5 years ago

Zemanzo commented 5 years ago

The problem was that (during the render refactor #69) the DirectionalLight was parented to the sky object, which has a scalar of 10000. The shadow camera of the light was way off in the distance for that reason. Fixed by adding a wrapper group.