Jump to content
  • Advertisement


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


Ray of light effect

This topic is 5584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!