Uploaded April 2025 | Updated November 2026, 1 day ago
In this lesson of Mastering GLSL in TouchDesigner, we explore convolution kernels, a powerful technique for image filtering that allows for effects like sharpening, edge detection, embossing, and Gaussian blur. You'll learn how convolution matrices modify pixel neighborhoods and how to implement multi-pass filtering for dynamic effects.
π Key Topics Covered:
β Understanding convolution kernels and how they alter images
β Implementing sharpening, edge detection, and motion blur
β Using mipmaps and textureLod() for efficient sampling
β Applying multiple shader passes for more complex effects
π¨ Exercises & Challenges:
π οΈ Implement a custom convolution kernel from scratch
π οΈ Build a CRT effect with vignette, scanlines, and chromatic aberration
π οΈ Create a unique effect by combining multiple filtering techniques
Explanation of kernels with some good illustrations: medium.com/@timothy_terati/image-convolution-filtering-a54dce7c786b
Interactive convolution kernel explorer: setosa.io/ev/image-kernels
Find me online:
πΉ Project Files & Patreon: patreon.com/water__shed
πΉ Portfolio: lakeheckaman.com
πΉ Instagram: instagram.com/lake_heckaman
00:00 - Start
00:04 - Intro: Advanced Image Filters with GLSL
01:08 - Image Convolution Kernel
09:49 - Implementing kernels in GLSL
12:11 - Mipmaps
16:39 - Convolve TOP
17:56 - Begin TouchDesigner Examples
19:08 - TextureLOD
22:36 - Edge Detection (Sobel Filter) in GLSL
27:33 - Sharpen Filter
31:30 - Emboss
32:34 - Barrel Blur GLSL TouchDesigner
34:24 - Exercises
In this lesson of Mastering GLSL in TouchDesigner, we explore convolution kernels, a powerful technique for image filtering that allows for effects like sharpening, edge detection, embossing, and Gaussian blur. You'll learn how convolution matrices modify pixel neighborhoods and how to implement multi-pass filtering for dynamic effects.
π Key Topics Covered:
β Understanding convolution kernels and how they alter images
β Implementing sharpening, edge detection, and motion blur
β Using mipmaps and textureLod() for efficient sampling
β Applying multiple shader passes for more complex effects
π¨ Exercises & Challenges:
π οΈ Implement a custom convolution kernel from scratch
π οΈ Build a CRT effect with vignette, scanlines, and chromatic aberration
π οΈ Create a unique effect by combining multiple filtering techniques
Explanation of kernels with some good illustrations: medium.com/@timothy_terati/image-convolution-filtering-a54dce7c786b
Interactive convolution kernel explorer: setosa.io/ev/image-kernels
Find me online:
πΉ Project Files & Patreon: patreon.com/water__shed
πΉ Portfolio: lakeheckaman.com
πΉ Instagram: instagram.com/lake_heckaman
00:00 - Start
00:04 - Intro: Advanced Image Filters with GLSL
01:08 - Image Convolution Kernel
09:49 - Implementing kernels in GLSL
12:11 - Mipmaps
16:39 - Convolve TOP
17:56 - Begin TouchDesigner Examples
19:08 - TextureLOD
22:36 - Edge Detection (Sobel Filter) in GLSL
27:33 - Sharpen Filter
31:30 - Emboss
32:34 - Barrel Blur GLSL TouchDesigner
34:24 - Exercises


![Untitled - Lake Heckaman
[WIP] applying this algorithm to some more scans, this one was captured in garden near a home I was staying at over the summer
generative artwork created by lake heckaman
Find me online:
πΉ Learn with me on Patreon: https://www.patreon.com/water shed
πΉ Portfolio: https://www.lakeheckaman.com
πΉ Instagram: https://instagram.com/lake_heckaman Untitled - Lake Heckaman](https://i.ytimg.com/vi/xlNbgLwmy1Y/mqdefault.jpg)
![macro videography x touchdesigner
[wip] macro videography x real time shaders x @touchdesigner
such a fun exploration - excited to see where this path leads
w/ @new grid macro videography x touchdesigner](https://i.ytimg.com/vi/y1x2tOHWKZM/mqdefault.jpg)



