fledge_lighting_2d 0.2.1
fledge_lighting_2d: ^0.2.1 copied to clipboard
2D dynamic lighting for Fledge — point/directional/spot lights, ambient light, additive-blended radial gradients on top of the sprite pass.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fledge_lighting_2dWith Flutter:
$ flutter pub add fledge_lighting_2dThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fledge_lighting_2d: ^0.2.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fledge_lighting_2d/fledge_lighting_2d.dart';