Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Animating quasicrystals in parallel Haskell. Parent comment
Modifying your main routine to do 3x3 super-sampling reduces flashing/aliasing quite a bit. Check it out.
void main(void) { float s = 0.0; for( float xx = 0.0; xx < 1.0; xx += 1.0/3.0) { for( float yy = 0.0; yy < 1.0; yy += 1.0/3.0) { s += combine(vec2(uv.x*xpixels+xx, uv.y*ypixels+yy)); } } gl_FragColor = vec4(vec3(s/9.0), 1.0); }
Modifying your main routine to do 3x3 super-sampling reduces flashing/aliasing quite a bit. Check it out.
4x4 is better, but my puny Mac Mini GPU starts to hiccup at that many samples when rendering 1600x800.