See what's going on with flipcode!




 


Submitted by , posted on 05 November 2004



Image Description, by


Hello, I thought I should post a IOTD for the first time of a simple demo I made. Ambient Occlusion, nothing special.

This demo trace rays distributed in a hemisphere to compute the average direction of unoccluded rays, which is an approximation of the average direcion of incident light. This is done for a finite set of points on a surface, in this case the result is encoded into a texture which is used to do soft real-time lighting.

Home page: http://sunray.cplusplus.se/?p=proj

Thanks,
Markus Buretorp



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