Hacker News new | past | comments | ask | show | jobs | submit login

You can set nearest neighbor interpolation for the texture (aka no interpolation), and gl_FragCoord can be used to determine which pixel the fragment shader is operating on.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: