Skip to content

Instantly share code, notes, and snippets.

@Akira-Hayasaka
Created March 14, 2015 00:00
Show Gist options
  • Save Akira-Hayasaka/63f2237af8caed93851b to your computer and use it in GitHub Desktop.
Save Akira-Hayasaka/63f2237af8caed93851b to your computer and use it in GitHub Desktop.
glsl sampler
sampler2D : normalized texture coordinates (0..1, 0..1)
sampler2DRect : unnormalized texture coordinates (0..w, 0..h)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment