Jump to content
  • Advertisement
Sign in to follow this  
sepul

Bilateral Upsample theory

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

I have implemented bilateral upsample but I'm skeptical of it, because I couldn't understand it's concept especially where they describe the sampling part in the papers
For each pixel I get four samples of normal and four samples of depth from 1/2 buffer, and one sample of normal and depth from 1/1 texture, also four samples of color from 1/2 buffer to multiply by weights and calculate the final color.
My sampling kernel (for sampling 1/2 buffer) looks like this :


static const float2 kernel[4] = {
float2(-0.5f, -0.5f), // 0
float2(0.5, -0.5f), // 1
float2(-0.5f, 0.5f), // 2
float2(0.5f, 0.5f), // 3
};


But in mixed resolution rendering paper, it described it a little bit different and used billinear weights and seems like he does four samples for 1/1 buffer which I couldn't understand.
could someone make this more clear for me please ?

thanks

Share this post


Link to post
Share on other sites
Advertisement
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!