Sign in to follow this  

Setting/Modifying the Alpha Value of the Back Buffer for Post Processing

Recommended Posts

Hey everyone, I'm currently attempting to teach myself how shaders and post processing work. Right now I am specifically teaching myself a simple glow post processor. To do this, all i want to do is change the alpha value of the backbuffer for areas that will glow, but I'm not sure how to accomplish this. Is this something that must be done with a vertex/pixel shader? For example, I have a white ball that i want to glow in the center of the screen. When this renders, I want to set the alpha of the back buffer to on to represent the glow. I would use the alpha of the ball texture to determine both the translucency and the area that should glow. So, how would I convert this information to the backbuffer? Can anyone explain how I would go about doing this? Thanks!

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