Open esDotDev opened 7 months ago
When using impeller rendering engine with the "Sparkle Party" vignette many of the particles are squares when they should be sparkles.
This vignette uses the ImageShader and drawVertices method backed by a spritesheet PNG. https://github.com/gskinnerTeam/flutter_vignettes/blob/master/vignettes/sparkle_party/lib/particlefx/particle_fx_painter.dart https://github.com/gskinnerTeam/flutter_vignettes/blob/master/vignettes/sparkle_party/assets/sparkleparty_spritesheet_2.png
ImageShader
drawVertices
Legacy
Impeller
https://github.com/gskinnerTeam/flutter_vignettes/assets/736973/42c8781e-7c74-41ce-ab28-7d4b74435e95
https://github.com/gskinnerTeam/flutter_vignettes/assets/736973/7191cd44-168e-499c-8d43-4e5db9388716
Logged an issue with the Flutter team here: https://github.com/flutter/flutter/issues/145707
When using impeller rendering engine with the "Sparkle Party" vignette many of the particles are squares when they should be sparkles.
This vignette uses the
ImageShader
anddrawVertices
method backed by a spritesheet PNG. https://github.com/gskinnerTeam/flutter_vignettes/blob/master/vignettes/sparkle_party/lib/particlefx/particle_fx_painter.dart https://github.com/gskinnerTeam/flutter_vignettes/blob/master/vignettes/sparkle_party/assets/sparkleparty_spritesheet_2.pngLegacy
Impeller
Legacy
https://github.com/gskinnerTeam/flutter_vignettes/assets/736973/42c8781e-7c74-41ce-ab28-7d4b74435e95
Impeller
https://github.com/gskinnerTeam/flutter_vignettes/assets/736973/7191cd44-168e-499c-8d43-4e5db9388716