Search Tools Links Login

Masked Light

Well, since the first "Light" demo project came out so good, I had to make another one ;)
This one has a difference: instead of drawing a light with the specified radius, it draws a light based on a mask image. The Radius now only controls the size of the glow effect. It's also just a bit faster (remember, I'm just about to learn DirectX to enhance these effects even more!).

Original Author: Jotaf98


Call the function and it will draw it all for you! You don't need to understand the code, if you're looking for how to make your own algorythms, the "Light Effects" sample is much easier and well commented. Still, this one would be good for a game or a painting program anyway.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 84 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 28,080 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.