monofuel / badmars

html5 multiplayer rts game
https://japura.net/badmars
Other
4 stars 1 forks source link

THREE.js - Shadows #49

Open monofuel opened 6 years ago

monofuel commented 6 years ago

Adding shadows (at least for the terrain and buildings) could be really nice

monofuel commented 6 years ago

implemented and fixed up, but the sun needs more work. the sun should change intensity and color during sunset/sunrise to make the shadows look more 'natural'.

Night has issues with tiles being hard to distinguish. #52 should be solved, and night should probably be changed to be shorter.

Shadows are implemented behind a checkbox in dat.gui for now.

This issue could be pushed to 2.0