| Submitted by , posted on 08 November 1999 |

Image Description, by Another shot of the terrain in my engine. I added lighting today, and I thought it looked cool enough to show. :) Clockwise from the top-left ...

> - Unlit
> - White light from straight above
> - Sunset (sun on the left)
> - Moonlight (moon on the left, but different angle)

This is just vertex lighting in OpenGL. The color values are determined with a simple dot product calc. It's amazing what you can do with very little effort sometimes...

[prev] | Image of the Day Gallery www.flipcode.com | [next]

Copyright 1999-2008 (C) FLIPCODE.COM and/or the original content author(s). All rights reserved.
Please read our Terms, Conditions, and Privacy information.