Skew/bend image (vertically) by given pixels with variable exponential along vertical. Great new angle capabilities and fixes added by skymen.
There is an issue if you change the color of the sprites while the effect is ongoing, some sprites will glitch.
How to reproduce in the current example:
1. Change the slider max value to 100, iteration step 1
2. In the code, set the slider to modify the sprite's RGB color (not the tint effect) instead of the angle. Use the RGB 100 formula C3 has (default one, called rgb i think), not the 255 one.
3. Run it and run the slider up and down.
Notice some sprites will glitch and skend very suddenly.
If this could be fixed it would be great! Either way thank you very much for the effect, it's super useful.
What I see with a quick test, that if you have color as white and change to non-white, it will glitch. The reason for this is the C3 rendering changes from non-predraw, so the effect is applied on render to canvas to predraw, where the color effect is applied first into offscreen canvas and then the skendPow effect is applied. Due to the changes in render processing, the effect will appear to glitch. For now, if this is the same issue you see, I suggest never changing the color back to pure white, any amount off will make the rendering consistent. An alternative is to change the addon to always predraw, but that has perf impact for the cases when color/opacity is not being changed.
Thank you for the explanation. My test was not about pure white as far as I remember, and only some sprites had the effect glitching, not all, even though the color was applied to all of them. (had a lot of individual grass with the effect + the daytime was turning into night time)
Pure white is the case when no color effect is applied, so that might be happening? I also imagine it would depend on at what skend value is being applied, how much it may glitch.
I understand pure white is the rgb 255 255 255, default for sprites. My grass starts from that, and moves to a much darker color. While doing so, after it started (not pure white anymore), it glitches continously.
Hmm, if you have a demo project that behaves like that, I'll take a look. When I tried it with the sample project modified, I did not see the issue.
I've been testing for 10 minutes now, in the demo project and also my current project and I cannot reproduce it without going to pure white.
In my current project my debugging slider for color was broken which lead me to think the color was not pure white, when it was (using rgb 100 with rgbex255 values.....)
Sorry for the confusion, it was my mistake entirely. Thank you for your time and for the plugin! <3
No worries, it's also good to reveal that this is a real limitation of the effect (transition from no color change to color change.)