Y
Hacker News
new
|
ask
|
show
|
jobs
by
tzahola
3118 days ago
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.