john-science / wanderlust

Wanderlust
http://antineutrino.net/wanderlust/
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Elevation Shading #4

Closed john-science closed 6 years ago

john-science commented 7 years ago

The map should be shaded based on the elevation and position of the sun. NOT on the fog of war / field of view. (Except at night, where it can be FOV or just a very small head lamp range.)

The goal is for the player to visually see the terrain, NOT to have it be extremely accurate. I am hoping for some optimization here to improve the efficiency of the standard algorithms.

john-science commented 7 years ago

The ESRI method seems solid.

john-science commented 7 years ago

I mean, this mostly works now. I want to test some more to make sure it looks good in a wider range of scenarios.