Konlet 0 Report post Posted December 18, 2020 Hi, I'm using the DisplacementFilter in Pixi.JS v5. I would like to understand exactly how displacement map images displace pixels. As they are normally grayscale, I'm wondering what the color value (0-255) denotes for a given pixel. If anyone can explain this to me or link an article explaining it, I would be very grateful. Thanks! Quote Share this post Link to post Share on other sites
ivan.popelyshev 1082 Report post Posted December 19, 2020 red horizontal, green vertical, blue nothing. (r/255 -0.5) * scale. Yeah, there's no center because 128 and 127 are not 0.5 1 Konlet reacted to this Quote Share this post Link to post Share on other sites
Konlet 0 Report post Posted December 19, 2020 Thank you! You've been a big help. Quote Share this post Link to post Share on other sites