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