See what's going on with flipcode!




 


Submitted by , posted on 21 October 1999



Image Description, by


I am currently working on my own 3D Engine that runs under Direct3D. At the moment I am working on my Lighting Engine. The screenshots shows one of my nice effects I have built into it. If a face is set to no shadow casting and a ray runs through during processing the lightmaps, my routine gets the pixel of the texture at that intersection point and the light ray then get's the color of that texel. That works very fine as you can see in the image above. I am just modeling a Scene with a lot of these windows (a church or something like that). In order to get the lightmaps impressive with these FX, they have to be quite big. The ground lightmap is 128x128 pixels and the lightmap is blurred after it is created.



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