flutter_shader_test icon indicating copy to clipboard operation
flutter_shader_test copied to clipboard

A test project for Shader support in Flutter

Flutter Fragment Shader Test

This reposistory was created to showcase shader support in Flutter. For more information about my findings see the Medium post.

Compiling shaders

You can compile shaders using glslc. You can download it for your platform here.

glslc --target-env=opengl -fshader-stage=fragment -o assets/shaders/simple.sprv shaders/simple.glsl 

Useful links

  • https://github.com/flutter/flutter/issues/58361
  • https://docs.google.com/document/d/1z9K5LernwQ0LVAzfbAMW6ITx63QRdRsoax1NLYEfm4Y
  • https://thebookofshaders.com/