Building custom fragment shaders - Flutter Build Show

preview_player
Показать описание
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:

#FlutterBuildShow
Рекомендации по теме
Комментарии
Автор

The best part of learning Flutter is definitely gaining the vast knowledge around the Graphics rendering world.
Most of the frameworks abstracts those areas so much that they can't be modified easily or there are no docs simply.

krtirtho
Автор

I'm amazed by the script and the talent behind its presentation! Salute to Craig and team! 🔥

onedreamer
Автор

Great show!
I would love to see:
- A walkthrough on how to custom paint inside flutter effects like TextOverflow.fade in my custom text widgets like if I wanted to create an expandable comment that fades at the end of the second line and shows a button for me to expand it
- A walkthrough on how to use MultiChildRenderObjectWidget to create an UI like VSCode editor (meaning an user changeable UI)
- A walkthrough on how to create your own slivers (or inner scrollable widgets like TextField inner scroll)
- A walkthrough on how to setup a long living and a short living isolate
- Some exercises for us to test our knowledge on the things that you show.

fmorschel
Автор

Please keep this series going! It's so insightful!

verticrow
Автор

We live in a time where you can watch an incredibly well made video for an incredibly specific topic.

piranha
Автор

This is well done and a great augmentation of the usual (also great) bite-sized shorter videos. Keep them coming! I also appreciate that there is much less than usual comedic distractions.

IncompleteTheory
Автор

Your show really gives me some special kind of love towards flutter as it feels like the maths and tech i was mad of in college, comes together with this show as a bundle. Thanks alot.

shortscraze
Автор

Ma shaa Allah I'm not going to lie but this is so far the best GLSL tutorial I've ever seen. I love shaders!

kifayatUllah
Автор

Loved the structure of this video! Super well-made and progressed very logically in a way that was easy to follow. It might have gone beyond the intended scope, but I would have been interested to see an example of using the ShaderBuilder widget from flutter_shaders you mentioned. Eager to dive in to shaders!

jointheflock
Автор

Absolutely the best explication I see on shader and Flutter!!

angelamidev
Автор

It would be amazing to deep dive in the scrollables' scroll physics!!!

mrverdant
Автор

This exposes the fundamental workings of Shaders, which helps me comprehend it better!

janklai
Автор

Crispy clear.. Thank you Craig. When you know - you know!

dartneer
Автор

very good explanation of an advanced topic!

Devorkan
Автор

I'm come from twitter, thanks your work

huazhuliang
Автор

So I've always overrode shouldRepaint with false as a return parameter. This tutorial opened me up

budgeter
Автор

This was so concise and easy to understand. Thank you

codegambit
Автор

Thanks this is amazing! How we can use Vertex Shaders with that?

SkyLib
Автор

Oh man. GLSL is so far outside my wheelhouse, but I feel like it's important to my next steps as a Flutter developer. What about demoing some more advanced shaders, like a water drop effect? Or animating a shader?

skipmeister
Автор

Can those be used in backdrop filters?

ThePC
welcome to shbcf.ru