Wednesday, December 14, 2011

Dynamic Lighting

After deciding that I'd like to implement day/night cycles. I modified the shadow mapping algorithm to calculate only a few shadows at a time and incorporated it into the games main cycle. I also added shading to the sides of blocks which will later be replaced by the shading algorithm also taking the angle of light into account.

Here's a crappy little GIF I made of the process at big intervals.


No comments:

Post a Comment