Can I sample half/quarter downsample of scene texture?

Hi all,

I am making surface materials like rough glass effect, and need you guys’ help:

  1. It’s a heavily blurred effect, which refraction can’t do. It seems have to use downsample of scene texture to implement the effect.

  2. If I use custom depth stencil, I have no idea how to write stencil without color write. Is there a way to write stencil on translucent material, or use opaque material but disable the COLOR_RGB write flag.

Thanks

Xiu

Are you looking for something like this?

Enjoy!

Thanks for the gateway! In that thread I’ve found a screenshot really close to what I want, and I’ll look into the details. Hope that will solve my quest.

Thanks again, really inspired me a lot!