Building custom fragment shaders - Flutter Build Show

Опубликовано: 29 Сентябрь 2024
на канале: Flutter
39,262
1.4k

Learn how to build a custom fragment shader, from GLSL code to the widgets that connect it to the rest of your Flutter app.

Chapters:
0:00 - Background of Flutter rendering
3:43 - Writing a simple shader
6:22 - Adding the shader to Flutter
10:55 - Passing a color value
12:48 - Difference between widgets and custom shaders
14:18 - Adding a gradient to our shader
17:51 - Handling color alpha
19:30 - Conclusion

Resources:
Book of Shaders → https://goo.gle/3qbNVO8
Next-gen UIs in Flutter → https://goo.gle/3IErjvZ
Codelab → https://goo.gle/3MVQgpm
Solid_fill.frag → https://goo.gle/3MA29zD

Catch more videos → https://goo.gle/FlutterBuildShow
Subscribe to Flutter! → https://goo.gle/FlutterYT

#FlutterBuildShow