I used colorMapFilter to map the LUT image, but the effect was just to mask the original image
pzppzz opened this issue · comments
Please provide more details, example. This issue is insufficient.
Please provide more details, example. This issue is insufficient.
Is that enough description now?
Are you reporting a bug or do you need help? I don't understand your issue.
It's always useful to provide a running example, so that it's easier to diagnose your issue. What does the LUT look like that you're using?
Are you reporting a bug or do you need help? I don't understand your issue.
It's always useful to provide a running example, so that it's easier to diagnose your issue. What does the LUT look like that you're using?
const colorMapFilter = new ColorMapFilter(lutImage, false, mix); this.colorMapFilter = colorMapFilter; this.sprite.filters = [colorMapFilter];
Lut image
The same LUT image sometimes has different effects.
Do you see this GIF image?
https://user-images.githubusercontent.com/89590352/187946222-dd641c19-1ffe-446f-9060-96c9609aa61b.gif
Are you sure you have completely loaded the LUT before applying this? This seems like a race-condition where the image isn't fully loaded and the height is only getting maybe a value of 1, which would the the first blue pixel. That could create some issues for sure.
Are you sure you have completely loaded the LUT before applying this? This seems like a race-condition where the image isn't fully loaded and the height is only getting maybe a value of 1, which would the the first blue pixel. That could create some issues for sure.
Thank you very much. My problem is solved.