Files
flame/doc/tutorials/basic_shader/basic_shader.md
Lapu Kornél c54c15fd2d docs: Added basic shader tutorial (#3799)
Added Basic Shader Tutirial to Flame documentation.
Added one note to CONTRIBUTING.md, which explains how to resolve non
UTF-8 characters in path.

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
2026-03-01 18:06:56 +00:00

865 B

Basic shader tutorial

This tutorial will give you a brief understanding of how to create and use basic shaders on SpriteComponents with PostProcess and PostProcessComponent using Dart/Flutter and the Flame engine.

This tutorial assumes that you have a working Flame project set up. If you don't, please follow the tutorial first.

The tutorial consists of 4 steps. We will create a simple outline shader for sprites which have a transparent background layer.

This tutorial is intended to work on images with transparent
background, like `.png` files.

Created by Kornél (Hoodead) Lapu.

:hidden:

1. Sprite Component         <step1.md>
2. Outline Post Process     <step2.md>
3. Shader                   <step3.md>
4. User Input               <step4.md>
5. Takeaways                <takeaways.md>