Relative Content

Tag Archive for javascriptthree.jsfabricjs

BlendColor and BlendImage removes the image – fabric.js

I’m trying to use fabric.js to dynamically change color of t-shirt and also place design on it. The design is a PNG image. All image are sourced from URLs. I have been able to use BlendColor to change the color. Now when I’m trying to use BlendImage to blend design on it, it’s removing the t-shirt image. How can I achieve proper blend of color and design on t-shirt?

BlendColor and BlendImage together makes image plain white – fabric.js

I’m trying to use fabric.js to dynamically change color of t-shirt and also place design on it. The design is a PNG image. All image are sourced from URLs. I have been able to use BlendColor to change the color. Now when I’m trying to use BlendImage to blend design on it, it’s turning the t-shirt plain white. How can I achieve proper blend of color and design on t-shirt?