VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: DirectDraw Question... Jack Hoxley (4 replies, 0 views) (2000-Sep-17) Lighting effects in DirectDraw would have to be done partially through memory access - which isn't easy for a "newbie"....
It all depends on whether you want the lighting to affect the background - which is quite likely. At which point you'd need memory access to blend them together; or you could use VBDabl.... Check out the black hole for that...
If you just want a straight light over everything else - just use Blt/Bltfast to copy a radial gradient across...
btw, the thing where it gets light-dark or color-color is called a gradient, a circular one like a point light (light bulb) is either a radial gradient or a sunburst gradient (depending which paint program you use)...
Jack,
|