Pixi Filter Controller - fancy screen effects by pixi (MZ version released!)

● ARCHIVED · READ-ONLY
Started by Tsukimi-neko 288 posts Page 13 of 15 View original ↗
  1. Puffer said:
    Is there a way to achieve this effect in RPG Maker using the Displacement filter? https://codepen.io/seanfree/pen/eBppyE
    The filter they used is feTurbulence, which is Perlin noise. But I assume implementing Perlin noise will be hard so perhaps using a video or image sequence as a displacement texture but so far I have had no luck trying to replace displacement IMG with a video due to my limited js experience.
    Can you just use a video/animation of the image and effect or does it need to be live rendered?

    The displacement image can be scrolled so if the image is seamless it can look pretty good. Here is the pixi filter demo. The water is using the displacement filter: https://filters.pixijs.download/main/demo/index.html
  2. ephesus said:
    Can you just use a video/animation of the image and effect or does it need to be live rendered?

    The displacement image can be scrolled so if the image is seamless it can look pretty good. Here is the pixi filter demo. The water is using the displacement filter: https://filters.pixijs.download/main/demo/index.html
    I tried scrolling displacement already but it still looks a bit too static, live rendering Perlin noise as displacement map would be the best result as it saves on file size but I will take using video/image sequence as well. The problem is I tried messing around with the code myself changing the displacement input myself using documents and google search on pixi.Sprite, pixi.Texture, video as displacement,... but none work. The project would run but the displacement part was wrong, like, as if it took the video as a big black box and then pass it on as the displacement map, which cause the game screen to shift a bit. But then again I don't know anything about javascript so I can't really figure out why it wasn't working.
  3. In my case, the "displacement" filter freezes my game after a few seconds. Can someone help me out ?

    I'm using this notetetag :


    Code:
    <Filter:UNDERWATER,displacement,0>
    
    <SetFilter:UNDERWATER,0.3,0.3,10>

    And this image :

    DisplacementMap.png
  4. PSA for those trying to apply filters to individual pictures: you must set SRD_CameraCore's "Zoom Pictures?" parameter to false AND check your FilterController.js file's code. Mine had a small error on line 1409 where the conditional statement lacked the required braces. The line should be if(picContainer[picId]) {targets.push(picContainer[picId-1])};

    rather than
    if(picContainer[picId]) targets.push(picContainer[picId-1]);
  5. @chicho the brackets aren't needed if you use MV 1.6.x but if you use
    lower version of 1.5.x than it might be needed for safety.

    I use it as it looks safer and cleaner.
  6. Is there any way to use different images as a displacement map (one at a time of course)? The plugin options only allow you to set one picture to use for every instance with different configurations, but if I want to achieve different effects (heat, water, ice effects) it just doesn't cut it. I don't know if there is a way to set a different picture with event commands, at least it doesn't seem so according to the documentation. Displacement works better for me since it looks subtler than other effects for my taste.
  7. Is it possible to apply Pixi filters to the layers from Galv's Layer Graphics plugin, but not tiles/events?
  8. Does anyone know if this plugin still works? Trying to use it with MV with a script call in a common event, I get the error "SyntaxError: Unexpected identifier"
  9. It still works; could you post your common event?
  10. Is it possible to create an opacity filter for everything surrounding the player? Like with a set radius?
  11. I'm confused.. I added the Plug in call createFilter crt#1 crt 1 but it isn't doing anything at all... Do I miss something completely?
  12. @KiraNet probably you do, there is a demo, as it is calling the ID and effect,
    check the parameter or demo and check around the files there.

    if you dont have set up the crt# crrt 1, than it does nothing at all, or could crash.
  13. I have no clue which demo you mean? I dont see anything linked... How do I set it up?? with setFilter? That does nothing either
  14. KiraNet said:
    I have no clue which demo you mean? I dont see anything linked... How do I set it up?? with setFilter? That does nothing either
    The one that's on the first post of this thread?
    Demo
    PIXI provides a good demo of PIXI.filters here
    You can preview what filter can you use. (though not all filters are implemented in Filter Controller)
  15. I looked at it but I'm not sure how this helps? I dont unterstand how to set a filter up....

    setFilter crt#1 x x x x x
    createFilter crt#1 crt 1

    Does nothing either...
  16. @KiraNet go to [this post] and download the setup demo he used in the video.
    the setup uses their ID, but in the first post in the spoiler is also told how things
    are set up and how to use it.
  17. Thanks! I will look into it! I couldnt understand the set up in the spoilers ^^"

    Edit: I DOESNT WANT TO WORK! I even tried to 1:1 copy the Event (Except the target) from the test Project and it still does NOTHING! I dont undertand this! .-. It should have worked???
  18. Does anyone know how to use the MoveFilter plugin command? I'm trying to change the filter parameters from the default over 1 second but it's not working.

    1684523941558.png
  19. Hey guys, question for a friend that need this; How do you "stop" the glitch effect? To them all it does is leave it there, static, even if it's disabled, set with all parameters to 0 and deleted at the same time. The event itself is a parallel event that's also deleted when the conditions meet, but the glitch still shows

    Edit: nvm another friend fixed it sorry for bothering
  20. Zer0Morph said:
    Does anyone know how to use the MoveFilter plugin command? I'm trying to change the filter parameters from the default over 1 second but it's not working.

    View attachment 262317
    Are you sure that's not 1/60th of a second?

    1 duration=1 frame, 60 frames=1 second. Try putting 60 for a 1 second "move"

    KiraNet said:
    I looked at it but I'm not sure how this helps? I dont unterstand how to set a filter up....

    setFilter crt#1 x x x x x
    createFilter crt#1 crt 1

    Does nothing either...
    create then set.