Jump to content
  • Advertisement
Sign in to follow this  
circassia

Down-Sampling Experience, questions

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

Hi guys,

i've generated a blur-shader but i know, that this shader is only usefull with downsampling. Therefore i would like to ask how the best way is? Doing it with passes? or just multiplying it with a factor?

By the way i saw this article:
http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter21.html

Did anyone read this? Is this only shader based? Or does have to do with the viewport?

thank you very much for your time and brains.

Share this post


Link to post
Share on other sites
Advertisement
That seems to be downsampling after rendering with adaptive resolution for anti aliasing.

Make a post effect system that render a full screen quad with static/dynamic textures to a dynamic texture using shaders.
You need to render a high resolution texture onto a low resolution texture by taking take the average of multiple samples in a pattern adapted for the change in resolution.
When you have your low resolution texture, applying blur takes almost no time when using multiple linear blur shaders after each other in different directions.

Share this post


Link to post
Share on other sites
but how can i modify the texture-size? When you say, that i have to render to a smaller texture? If you have an example, it would be great!

Thanks

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!