Back to course

Shader Programming: Frag and Vert

Flutter 2026: The Impeller & Wasm Masterclass

Shaders in 2026

Impeller uses SL (Shader Language). Shaders allow you to run code directly on the GPU for every single pixel.

Types of Shaders

  • Fragment Shader: Handles color and effects (blur, gradients).
  • Vertex Shader: Handles the shape and movement of geometry.

In Flutter 2026, we load shaders using FragmentProgram. This allows for movie-like effects at 120 FPS with 0% CPU impact.