Corona's

Started by
1 comment, last by Flous 23 years, 2 months ago
Hi, I myself am working on a 3D engine, and I learned a lot from the NeHe site (thanx for that). But what I still need to know, and have been looking for for ages, is how do you determine when to draw a corona (lightflash as in unreal) Currently, I just use the Z-buffer, but that doesn''t give the desired result, since the rule for drawing corona''s is when the center is visible, the whole thing should be visible. My engine is a Portal/Octree/Hardware Z-Buffer based engine
Advertisement
just run the vector from the lightsource to the camera position through your scenegraph to see if theres any obsticals

http://members.xoom.com/myBollux
Right, ofcourse.
So obvious and yet...
thanx a lot m8

This topic is closed to new replies.

Advertisement