Mastering GLSL in TouchDesigner, Lesson 2: Texture Sampling and Per-Texel Calculations
In this lesson of Mastering GLSL in TouchDesigner, we dive into texture sampling and per-texel calculations, exploring how shaders process images at the pixel level. You’ll learn about gl_FragCoord, UV coordinates, and the difference between texture() and texelFetch(). We’ll also cover practical applications like creating gradients, flipping textures, and manipulating image data in real-time. By […]