Stochastic Rasterization - GPU Technology Conference 2012
Stochastic Rasterization - GPU Technology Conference 2012
Stochastic Rasterization - GPU Technology Conference 2012
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Pixel Shader// Sample stochastic visibilityfor (int i = 0; i < MSAA_SAMPLES; ++i) {getRay(origin, dir, i, gl_FragCoord.xy);if (intersectRay(origin, dir, time[i], u, v)) {gl_SampleMask[0] |= (1