forked from Leafwing-Studios/Emergence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flesh out shade mechanics (Leafwing-Studios#846)
* Fix starting position of sun * Account for footprint * Ghosts should not cast shade! * i before e except after c * Fix height computations * Cast shade from terrain * Correct for structure height * Fix ghost shadow behavior * Store height of structures in StructureData and use for shadows * Leave TODO about using this data for picking * Don't shade self * Account for facing of structures * Show height of structures in selection details * Don't double count shadow from tiles with structures * Swap to a discretized light system * Play with colors * Clippy
- Loading branch information
1 parent
6b5ddca
commit 6bf39ce
Showing
17 changed files
with
272 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.