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 for Inochi-Creator Issue 342 - Transparent img export post-process. #59

Closed ShadowMarker789 closed 3 months ago

ShadowMarker789 commented 3 months ago

Setting the Clear-Color prior to clearing the buffer fixes the background not being transparent when post-processing is enabled.

Fixes this issue: https://github.com/Inochi2D/inochi-creator/issues/342

I believe this bug is just a mistake - the clear-color was obtained and then never-used.