VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Masked Light

Jotaf98  (9 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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!).

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.

Rate Masked Light (7(7 Vote))

Download Masked Light

Masked Light Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters