please help Glow question

Community Forums/General Help/please help Glow question

NotAGamer(Posted 2016) [#1]
i've been very serious to make a game and i want to use blitz3d for fast prototyping my game..

i read this code and its amazing .. but if you changed the alpha of the sprite to 0.8

you can see that the sprite is not in the middle.. has any body know how to make this work and make the sprite centerd?

http://www.blitzbasic.com/codearcs/codearcs.php?code=1351


Kryzon(Posted 2016) [#2]
Use this code archive entry:
http://www.blitzbasic.com/codearcs/codearcs.php?code=2862

You can modify it like this:



NotAGamer(Posted 2016) [#3]
@kyrzon

thank you very much!!!!!


Yue(Posted 2016) [#4]








RemiD(Posted 2016) [#5]
Worth a mention is the method demonstrated by sswift (small render of the glowing surfaces in fullbright, then blur of the texture by using several textured quads with an offset at up, down, left, right, upleft, upright, downleft, downright, then display the resulting texture on a quadmesh over the whole screen) not precise but good enough for some cases...
Here : http://www.blitzbasic.com/codearcs/codearcs.php?code=754