In this video we take a look at what you can do with GPU kernels for image processing, or simply to play with time-based shader effects.
Learn how to write custom GPU kernels and 2D shaders in Divooka Compute using node-based visual programming. If you're familiar with WebGL, OpenGL, or Blender shader nodes, this guide walks through the core math and workflow needed to build real-time visual effects from scratch.
In this tutorial, we cover:
• The basics of GPU kernel execution vs. standard functions
• Working with normalized UV coordinates and distance calculations
• Creating smooth transitions and rings using smoothstep and abs
• Driving animation and oscillations over time with sin
• Practical GPU applications: gradients, procedural rings, noise, and blur filters
Timestamps
0:00 - Introduction to GPU Kernels in Divooka
1:15 - Setting Up a Kernel vs. Standard Function
2:45 - Outputting Colors & Understanding UV Space
5:05 - Time & Sine Waves: Building an Oscillator
6:35 - Distance Functions & Drawing Circles
8:30 - Shaping Edges with Smoothstep
11:45 - Math for Concentric Rings & Dynamic Thickness
15:35 - Animating Radius & Palette Mixing 19:00 - Advanced Shaders: Multi-lobe Rings, Noise & Blur
Top comments (0)