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.25k stars 47 forks source link

Fix tint not applying when bound to a parameter #54

Closed Draconizations closed 7 months ago

Draconizations commented 7 months ago

Fixes tint (multiply) not working with composite nodes when bound to a parameter, and fixes tint (screen) not working with part nodes when bound to a parameter.

The wrong operations were used for calculating the tint. Composites used addition for both multiply and screen, while parts used multiplication for both.

Fixes https://github.com/Inochi2D/inochi-creator/issues/315