Search Tools Links Login

Masked Light


Visual Basic 6, or VB Classic

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

Inputs

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: 90 times

Categories

Visual Basic 6

Attachments

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


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.