VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Masked Light

by Jotaf98 (9 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

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

Download Masked Light

Download Masked Light (27 KB)

Masked Light Comments

No comments have been posted about Masked Light. Why not be the first to post a comment about Masked Light.

Post your comment

Subject:
Message:
0/1000 characters