Inochi2D / inochi2d

Inochi2D reference implementation aimed at rendering 2D puppets that can be animated in real-time (using eg. facial capture).
BSD 2-Clause "Simplified" License
1.26k stars 47 forks source link

Optimise masks #4

Closed LunaTheFoxgirl closed 3 years ago

LunaTheFoxgirl commented 3 years ago

Masks are currently not that optimal as they reset multiple times when not needed. This should be changed to only reset when needed so that multiple draws can be done on the same mask.