Ray of light effect

Started by
1 comment, last by davidkosenina 21 years, 1 month ago
Helo. I am doing a very simple shoot'' em up game. Haw can I do a very simple ray of light effect. Lasar beam for example, ...etc. I was trying with lights but I cant get the effect I want. If anybody knows haw to do this, please help me.
Advertisement
To do it don''t use lights (lights only affects solids and not the the "void" if you understand what I mean...)

Personnaly I would use alpha blending to achieve an effect like this. You only have to set alpha blending renderstates ans stuffs like that. And then render tris you use for beams, sun light ray or whatever you want... (disable alpha blending then and before rendering to not affect your terrain rendering for example...)

Have a look in the SDK help if you don''t know how it works.

Hope it helps...

Thank you very much.
I will try to do than.

:-)

This topic is closed to new replies.

Advertisement