Jump to content
  • Advertisement
Sign in to follow this  
MohammadAhmed

Health Effect

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

I want to make something already done by a lot of games , which is when I am taking so much hits from enemy red screen drawn like the following , using XNA 4.0:

after it's drawn and I am still alive I want to be removed slightly as in the call of duty !!!

4r9xgose284oedd6g.jpg

Edited by mrmohadnan

Share this post


Link to post
Share on other sites
Advertisement

Render-to-texture the scene, then make a new shader that combines the rendered image with the blood image (with transparency in the middle).

 

This is known as a post-process.

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!