Mastering GLSL in TouchDesigner, Lesson 5: Domain Manipulation
In this lesson of Mastering GLSL in TouchDesigner, we explore domain manipulation, a powerful technique for transforming UV space to achieve unique visual effects. You’ll learn how to translate, scale, rotate, wrap, mirror, and warp domains, allowing you to tile textures, correct aspect ratios, and create complex patterns.
📌 Key Topics Covered:
✅ What is domain manipulation, and why is it useful?
✅ Understanding UV space and how GLSL handles coordinate mapping
✅ Translation & scaling for positioning and resizing effects
✅ Using a rotation matrix to rotate UV coordinates
✅ Wrapping & mirroring for seamless texture tiling
✅ Extend modes (hold, repeat, mirror, zero) and how they affect texture sampling
Find me online:
Project Files/Patreon: https://www.patreon.com/water__shed
Portfolio: https://www.lakeheckaman.com
IG: https://instagram.com/lake_heckaman
00:00 – Introduction to Domain Manipulation with GLSL
01:35 – What is Domain and Range?
04:03 – Types of Domain Manipulation in shaders
07:42 – Example – Different Extend Modes
09:02 – Tiling shapes with GLSL in TouchDesigner
17:18 – Rotate in GLSL
22:15 – Rotating many shapes differently in GLSL
30:42 – Exercises