Submitted by , posted on 13 September 1999



Image Description, by


I decided to try and get rid of the stair steps in my lighting the other day. So I added a final step to my lightmap creation code to just run a quick blur function over the lightmap before saving it.

Just taking the current pixel + the one above + the one below + the one to the left + the one to the right, and divide by 5. It created a nice blur and got rid of most of the stair step. Looks much nicer. :)



[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.