Displacement Filter issue with Pixi.js V 4.0
See original GitHub issueI’d like to have the same result than this jsfiddle. It use pixi.js - v1.6.0
http://jsfiddle.net/glafarge/6h84bpnk/
Unfortunately, I don’t succeed having the same result with de new pixi.js v4.1.0 It seems that this line inside the requestAnimationFrame function doesn’t work on the new pixi.js
displacementFilter.offset.x += offset;
Indeed, offset doesn’t exist anymore but I don’t know how to replace it ? Does anyone have an idea ?
Thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:13
Top Results From Across the Web
Displacement Filter issue with Pixi.js V 4.0 #3253 - GitHub
I understand the incrementation of my x & y inside my requestAnimationFrame function but on the jsfiddle (with Pixi v.1.6) the filter stays...
Read more >Guide to pixi-V4 filters - Pixi.js - HTML5 Game Devs Forum
V4 filters are differ from V3. You can't just put there shader and assume that texture coords are in [0,1] range.
Read more >PIXI.Filter - PixiJS API Documentation
Filters can be applied to any DisplayObject or Container. PixiJS' FilterSystem renders the container into temporary Framebuffer, then filter ...
Read more >@pixi/filter-displacement - npm
Filter that allows offsetting of pixel values to create warping effects. Latest version: 6.5.5, last published: 11 days ago.
Read more >Newest 'pixi.js' Questions - Stack Overflow
Hi I'm using pixi's built in displacement filter (PIXI.filters.DisplacementFilter). It works perfectly in desktop mode. The problem is, when I load the page ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Perfect I’ll do it on your way ! Thank you that was very helpful and interesting.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.