Jump to content
  • Advertisement
Sign in to follow this  
Medo Mex

Muzzle Flash Billboard

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

When the enemy shoot, the player should see the muzzle flash, which is usually a billboard

 

However, the player could see his friend firing and he look at the muzzle flash from the side

 

I want the muzzle flash to look like this if the player is looking at it from the front:

[attachment=22443:front.jpg]

 

and like this if the player is looking from the sides:

[attachment=22444:side.jpg]

 

I think it can be done using Pixel Shader, but I'm not sure how.

Share this post


Link to post
Share on other sites
Advertisement

Hello.

You may need to look into particles for that type of effect. I managed to get one like your image with a particle system, most of the time it looks ok..

Share this post


Link to post
Share on other sites

Or make a 3d model with several planes which are rendered additively. One plane should be mostly visible from behind and front and then maybe 2 planes in a cross which will seen from sides / top / bottom. 

 

With a few different textures / rotating the muzzle flash, it'll be more interesting looking.

 

Cheers!

Edited by kauna

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!