I devised a way to make the same thing using only textures, it's pretty decent and it will work on all video boards!
(This was hacked in 5 minutes, so don't expect any fancy art work, it's just proof of concept)
Uploaded with ImageShack.us
The trick is this, use a 2nd texture in black with the glow lights (notice the 'glow' is painted in 2d on this 2nd texture):
Then in purebasic just use this code:
Code: Select all
CreateMaterial(0,LoadTexture(0,"tuga3.dds"))
AddMaterialLayer(0,LoadTexture(0,"tuga3_glow.png"),#PB_Material_Add|#PB_Material_Modulate)
MaterialFilteringMode(0,#PB_Material_Trilinear)