• Advertisement
Sign in to follow this  

Blurry transparency

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

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
Advertisement
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
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
Sign in to follow this  

  • Advertisement