Sign in to follow this  
circuit

Blurry transparency

Recommended Posts

circuit    134
Does anyone have an idea how to do the "Windows Vista style" blurry transparency effect. http://upload.wikimedia.org/wikipedia/en/9/99/Windows_Gadgets.png As far as I know a shader can't read from the buffer it renders to, so the only way I can think of, is to copy the the content behind the window to a texture, blur it, and then use this texture as a input. How ever this seem highly inefficient way.

Share this post


Link to post
Share on other sites
acid2    451
This is the job of a compositing manager. What happens is there is a screen buffer texture. Each window is rendered to this texture, and when it is rendered the previous render is passed in (everything behind the window). The window, when rendering is there free do a blur pass, saturation, etc on this texture, creating some nice effects. At least, I think that's how it's done.

It's that, or once everything is rendered, it is rendered again with just a blur shader, and mask areas. However, I doubt this is the case as it doesn't lead to much flexibility.

Share this post


Link to post
Share on other sites
jollyjeffers    1570
Quote:
Original post by acid2
This is the job of a compositing manager. What happens is there is a screen buffer texture. Each window is rendered to this texture, and when it is rendered the previous render is passed in (everything behind the window). The window, when rendering is there free do a blur pass, saturation, etc on this texture, creating some nice effects. At least, I think that's how it's done.
I don't know for sure, but I would go with this suggestion.

Full AERO Glass support requires a ps_2_0 capable card, and that sort of kernel post-processing effect is fairly easy using ps_2_0.

hth
Jack

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