Does anyone know how to make some really cool lighting effects, like the effects of the lights in this picture??
http://www.graal2001.com/screenshots/02.gif
Printable View
Does anyone know how to make some really cool lighting effects, like the effects of the lights in this picture??
http://www.graal2001.com/screenshots/02.gif
What they did here is use D3D (or DGraphics if DX8), textured the cube with the picture, and added point lights where you see them.
No they didn't Sas =). The lights in D3D dont show up like that. They probably use a colored, Alphablended sprite.
Z.
Then they used alpha-channels on a complete flood fill of a colour.
Hmm... I've looked thru the game's folder and there's a folder with masks in it - one's got 'lightmask.png' and it's a black and white mask of the light effect - but no colour - how can I make it coloured with this??
[P.S - NO DIRECTX WAS USED APART FROM DIRECTINPUT!!! I talked to the creator of the program - made in Delphi]
But using DX would make it much easier, once you got it to work..
well they probably used the transparent blt API or their own routine...