renancaraujo / omesh

O'Mesh is a fast and highly customizable vector animated Mesh Gradients implementation.
https://omesh-flutter.renan.gg
Mozilla Public License 2.0
83 stars 3 forks source link

fix: Weird look on flutter 3.24 beta #4

Closed renancaraujo closed 3 months ago

renancaraujo commented 3 months ago

Bug Description

On Flutter 3.24 beta, we look weird when running on the web (see screenshot below)

Reproduction Steps

  1. checkout on flutter channel beta
  2. run a mesh gradient with more than 2 vertices in any dimension
  3. The top left segment of the mesh will take precedence over other segments.

Expected Behavior

All mesh segments are rendered with their own looks

Screenshots

Screenshot 2024-08-06 at 20 34 28

Additional context

This may be caused by shader caching on canvaskit. we may reuse programs, but not shaders.