Jump to content
  • Advertisement
Sign in to follow this  
NEd2k

lasers for my ship

This topic is 4357 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

Hello, I want to make the lasers for a space shooter game and I didn't found a way to make them to look good. I tried to do them using 2 sprites that intersects at the middle, and looked good but not always, when it looked like an X. I also tried to use a cilinder like mesh but this also looked bad because I couldn't make it glow. Does someone has any ideea on how to make this look good? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Are you using shaders? 2D or 3D?

In 2D, you should make a textured line (rotated rectangle) with a laser texture, that's what I did and it worked nicely.

In 3D, you should try a rotated (angle of point 2 from point 1) billboarded quad with a texture of a lazer (with translucency), which gives you free glow.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!