gritsenko / c3_spine_plugin

Spine plugin for construct 3
MIT License
24 stars 8 forks source link

Fix effect on first object. blendFunc() #4

Closed MikalDev closed 5 years ago

MikalDev commented 5 years ago

Fix for an issue where the first C3 object rendered after the Spine render would not appear if it had an effect or multiple effects.

The issue was incorrect restore of the WebGL blend state/format. The first render into the temporary buffer for the effect would not render the original image. Watch out for any alpha/blend issues as we test this out.