PDA

Click to See Complete Forum and Search --> : Creating cool light effects?


Exta-C
Jun 11th, 2001, 07:35 PM
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

Sastraxi
Jun 11th, 2001, 08:39 PM
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.

Zaei
Jun 12th, 2001, 06:09 AM
No they didn't Sas =). The lights in D3D dont show up like that. They probably use a colored, Alphablended sprite.

Z.

Sastraxi
Jun 12th, 2001, 03:33 PM
Then they used alpha-channels on a complete flood fill of a colour.

Exta-C
Jun 13th, 2001, 12:06 AM
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]

Fox
Jun 13th, 2001, 02:46 AM
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...