Archived

This topic is now archived and is closed to further replies.

davidkosenina

Ray of light effect

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites