Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


bulb light hallo's

This topic is 6043 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to add light bulb hallos to my engine. I succesfully done this placing bilboards quads wich caries appropriate blended light hallo texture. The problem is when I''m close to an edge that is going to cull the light bulb, the hallo is culled to (is a polygon) So the hallo is not longer circular. The quastion is what settings I have to subbmit to open gl to paint this hallo on top of the culled surface until the light center is culled to get the right effect. Thanks MCO

Share this post

Link to post
Share on other sites
Right, you have depth-testing off, but you want the flare to
disappear when the light is occluded. If you have GF3 or better
nvidia card there is occlusion query extension. Otherwise you
could read depth values back from the location of the light
in screen space and see if it is occluded yourself.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!