Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/renancaraujo/flutter_shader_brick

Template for generating GLSL files to be used within a Flutter project.
https://github.com/renancaraujo/flutter_shader_brick

Last synced: 21 days ago
JSON representation

Template for generating GLSL files to be used within a Flutter project.

Awesome Lists containing this project

README

        

# flutter_shader

[![Available on brickhub](https://img.shields.io/badge/-flutter_shader-darkred.svg?logo=data:image/svg%2bxml;base64,PHN2ZyB3aWR0aD0iMTE0NiIgaGVpZ2h0PSIxMDk1IiB2aWV3Qm94PSIwIDAgMTE0NiAxMDk1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNTQwLjM3OCAxMzYuMDY5QzY5MS42OTIgMTMyLjQ3NyA3NjguODAxIDI3MC41OTYgNzg4LjQ0MiAzNDAuMTA1QzEwODguMyAzMjMuNzQyIDExMzIuODkgNTgxLjcyMiAxMTE3LjcxIDcxMi43NTdDMTEwMy44NSA3OTIuOTA5IDEwNDUuNDIgOTAzLjgyMyA4MTcuNjU1IDk0Ni43MjVDNTk4LjUxIDk4OC4wMDQgMjY4LjcxMSA5MTguNDU2IDExNy4wMzQgODM3Ljk3M0MtMTAwLjIxNSA2NzYuMDY2IDEyMy42MzYgNDczLjMwMiAyNDcuNzUxIDQ0MC4zNzdDMjYxLjYxNSAyMzYuMzQxIDM1MS4yMzUgMTQwLjU1OSA1NDAuMzc4IDEzNi4wNjlaIiBmaWxsPSJ3aGl0ZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI1MCIvPgo8cGF0aCBkPSJNNjUzLjMzNiA2MzEuNTk4TDgzNS42NzIgNTE5LjIyMkw2NTIuMDI0IDQwOS4wMzRMNDY4LjgxMyA1MjEuNDA5TDY1My4zMzYgNjMxLjU5OFoiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik04MzYuNTQ3IDczNC4zNTRM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gODAxLjc5OUwzOTQuODIxIDY0My44NDNaIiBmaWxsPSIjQkEyNDFBIi8+CjxlbGxpcHNlIGN4PSI1MDIuNjU3IiBjeT0iODA2LjgxOSIgcng9IjE4MS45MTciIHJ5PSI4NC44MzYzIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMzM2LjY0OCA3NTkuMDY5QzQwMi4zODkgNzEyLjg2IDU2NC4zOTUgNjYwLjQxMyA2ODYuNDg5IDgyMC4yOTEiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iNTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K)](https://brickhub.dev/bricks/flutter_shader)

Template for glsl files to be used within a flutter project.

## Getting Started 🚀

Create a boilerplate GLSL file for your Flutter project.

```shell
# Install this globally
mason add -g flutter_shader

# make a new shader )
mason make flutter_shader --name "beautiful shader"

## A glsl file is on shaders/beautiful_shader.glsl
## An entry for the shader is added to the pubspec.yaml file
```

To learn more about shaders on Flutter see [this talk](https://www.droidcon.com/2023/08/07/shaders-beyond-the-gimmick/).