• Stars
    star
    203
  • Rank 188,979 (Top 4 %)
  • Language
    Dart
  • License
    MIT License
  • Created about 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Umbra, visual editor for shaders in Flutter.

Umbra

umbra coverage style: very good analysis License: MIT Powered by Mason


The visual editor for shaders in Flutter.

umbra /หˆสŒmbrษ™/

noun:

  1. the fully shaded inner region of a shadow cast by an opaque object, especially the area on the earth or moon experiencing the total phase of an eclipse.
  2. LITERARY
    shadow or darkness.
    "an impenetrable umbra seemed to fill every inch of the museum"

Packages

Package Pub
umbra pub package
umbra_cli pub package
umbra_flutter pub package

Quick start

For a getting started with Umbra check out the getting started section in the docs.

# ๐ŸŽฏ Activate from https://pub.dev
dart pub global activate umbra_cli

# ๐Ÿš€ Install umbra dependencies
umbra install-deps

# ๐Ÿ•ถ๏ธ Create your first shader
umbra create hello_world

# ๐Ÿ“ฆ Compile your first shader to a Dart file
umbra generate shaders/hello_world.glsl --output lib/shaders/

Documentation

For the documentation that describes how you should writing shaders that are compatible with Umbra tooling, see the Shader Specifications documentation.

Documentation about the CLI can be found here.

Articles

If you are looking for more general information about shaders in Flutter, here is a list of articles: