Sign in to follow this  
Followers 0
MohammadAhmed

Health Effect

2 posts in this topic

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
0

Share this post


Link to post
Share on other sites

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.

2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0