Pixi Filter Controller - fancy screen effects by pixi

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
90
Reaction score
10
First Language
Spanish
Primarily Uses
RMMV
Is there any way to combine two filters?
 

LawrenceindaSky

Veteran
Veteran
Joined
Apr 21, 2016
Messages
64
Reaction score
4
First Language
English
Primarily Uses
N/A
So for a while the plugin was working fine, but when I stand still for about 10 minutes, this happens... (Note: I named the js 'FilterControllerOld' because I have a second file I edited filters on so I tested it with a fresh one and it still occurs.)
RPGMVError.png
 

SpakTheComposer

Possibly a glitch in the system
Veteran
Joined
Dec 5, 2016
Messages
68
Reaction score
4
First Language
English
Primarily Uses
RMMV
have been using this plugin for quite awhile now, mostly just for screen effects, but the game I'm currently working on needs to be able to use the event target function with the 4000 + event id. I can't seem to get it to work on any event at all. Any reason why this might be?
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
90
Reaction score
10
First Language
Spanish
Primarily Uses
RMMV
The problem that I faced with this plugin is that it gets extremely blurry in fullscreen. I don't think it's compatible with this "scale" plugin.
Can I fix it somehow?
 

WhiteW

The Murderous Clown
Veteran
Joined
Oct 16, 2016
Messages
170
Reaction score
126
First Language
EN/PT
Primarily Uses
RMMV
Hello.

The displacement filter doesn't seem to be working that well for me:

No matter if I set it to screen, map, character or anything, it always displaces just the map and characters;
It only plays for a couple of seconds;
And when it stops, the bottom and right areas are out of place: https://i.imgur.com/Q4Xok9j.png

Does anyone how to fix this so that it keeps playing and doesn't make any of the black background show?
 

Felski

Veteran
Veteran
Joined
Jan 5, 2018
Messages
96
Reaction score
77
First Language
german
Primarily Uses
Other
Hello,

this is a really cool and helpful plugin. I was wondering, is there a way to apply a filter to the title screen? Maybe using a custom js file even that extends the Scene_Title?
Best regards,
Felski
 

Okk

Veteran
Veteran
Joined
Apr 24, 2015
Messages
46
Reaction score
10
First Language
English
Primarily Uses
Is there a way I can create a color negative effect?
I looked up documentation for color matrix filter in hopes of adding it myself, but it's a bit more confusing than something like RGB Split.
 

Danielcross

Veteran
Veteran
Joined
Sep 27, 2017
Messages
100
Reaction score
10
First Language
English
Primarily Uses
RMMV
Anybody know how I can add the independent filters like tilt shift? I know I'm doing something wrong here in the code:

Code:
(function() {
    "use strict";

    Filter_Controller.filterNameMap["tiltshift"] = PIXI.filters.TiltShiftFilter;
    Filter_Controller.defaultFilterParam["tiltshift"] = [0,0,0,0,]

    Filter_Controller.updateFilterHandler["tiltshift"] = function(filter, params) {
        filter.blur = params[0];
        filter.gradientBlur = params[1];
        filter.direction = params[2];
        filter.direction = params[3];       
    }

    Filter_Controller.filterSpecialInit["tiltshift"] = function(filter) {

    }
})();
 
Last edited:

Chef

yeet
Veteran
Joined
Oct 13, 2017
Messages
286
Reaction score
131
First Language
Dutch
Primarily Uses
RMMV
tactical . (have the same question as Daniel)
*realises there is a watch thread button*
Thank you for creating this plugin, I love it!

Edit: Does anyone know how to make RGB split work properly? I've been fighting with it all day.
 
Last edited:

Chef

yeet
Veteran
Joined
Oct 13, 2017
Messages
286
Reaction score
131
First Language
Dutch
Primarily Uses
RMMV
Does anyone know how to exclude events when option 4 (uses filter on each seperate event) is used? And how to turn the effect per event off using (this.eventId()) instead of the exact ID number?
 

EthanFox

Veteran
Veteran
Joined
Oct 15, 2018
Messages
384
Reaction score
298
First Language
English
Primarily Uses
RMMV
Anybody know how I can add the independent filters like tilt shift? I know I'm doing something wrong here in the code:

Code:
(function() {
    "use strict";

    Filter_Controller.filterNameMap["tiltshift"] = PIXI.filters.TiltShiftFilter;
    Filter_Controller.defaultFilterParam["tiltshift"] = [0,0,0,0,]

    Filter_Controller.updateFilterHandler["tiltshift"] = function(filter, params) {
        filter.blur = params[0];
        filter.gradientBlur = params[1];
        filter.direction = params[2];
        filter.direction = params[3];      
    }

    Filter_Controller.filterSpecialInit["tiltshift"] = function(filter) {

    }
})();
Did you manage to get this to work? I would love to experiment with a tilt shift effect in my game.
 

Danielcross

Veteran
Veteran
Joined
Sep 27, 2017
Messages
100
Reaction score
10
First Language
English
Primarily Uses
RMMV
Did you manage to get this to work? I would love to experiment with a tilt shift effect in my game.
Sorry, haven't been able to get it to work. Was tinkering with the code but just ended up being too much work.
 

cedr777

Lead developer of "Charao Life"
Veteran
Joined
Feb 22, 2018
Messages
248
Reaction score
56
First Language
Not English
Primarily Uses
RMMV
Hello! Can anyone help me, I want to make it so the the Godray Filter does not show up during Fade Out and Fade In command.
I think by default the Godray Filter is highter in Layer priority than the Fade Out and Fade In command. How can I change it so that it will be below, because it is always showing up on top of black screen!
 

adachis

Villager
Member
Joined
May 8, 2019
Messages
6
Reaction score
7
First Language
English
Primarily Uses
RMMV
Hello! Can anyone help me, I want to make it so the the Godray Filter does not show up during Fade Out and Fade In command.
I think by default the Godray Filter is highter in Layer priority than the Fade Out and Fade In command. How can I change it so that it will be below, because it is always showing up on top of black screen!
I'm not 100% sure but I don't think you can do what you're asking. I think godray has to target the entire canvas. It's been awhile since I messed with it but I think it doesn't work otherwise. Anyway, you can still do this. The plugin's creator actually addresses this in the comments on the first page of this thread but not with specific instructions. To make it fade out you just need to set the strength parameter repeatedly over time. You could do this with a script call to ensure it happens concurrently with the screen fade out or you could just issue a series of plugin commands with wait commands between each one (to delay the next step in the fade by N frames). That's going to be the easiest way to do it.

If you know a little JavaScript, though, it shouldn't be too difficult to create a custom godray filter that you can add a method to that can handle the fade out via script call. It'd save time in the long run if you think you're going to need to be fading that filter in and out a lot.
 

Espilonarge

Veteran
Veteran
Joined
Apr 24, 2016
Messages
128
Reaction score
60
First Language
English
Primarily Uses
Hello! Can anyone help me, I want to make it so the the Godray Filter does not show up during Fade Out and Fade In command
There is a way to overcome this issue with the Fade In/Out function.

A B C
- These are Angle, Gain and Lacunarity values (default = "30 0.5 2.5"), set these to what values you want to use.
X - Brightness value (default = "1.0")
Y - Number of frames to use for the moveFilter (eg = "60" equals 1 second).
createFilter godrays godray 0
setFilter godrays A B C 0
moveFilter godrays A B C X Y
"Fade In command"
moveFilter godrays A B C 0 Y
"Fade Out command"
 

cedr777

Lead developer of "Charao Life"
Veteran
Joined
Feb 22, 2018
Messages
248
Reaction score
56
First Language
Not English
Primarily Uses
RMMV
There is a way to overcome this issue with the Fade In/Out function.

A B C
- These are Angle, Gain and Lacunarity values (default = "30 0.5 2.5"), set these to what values you want to use.
X - Brightness value (default = "1.0")
Y - Number of frames to use for the moveFilter (eg = "60" equals 1 second).

I'm sorry but it doesn't seem to work, the godray insists being on top of the fade out.

https://ibb.co/wBbqNYJ
https://ibb.co/nLqLpgL
https://ibb.co/q1n7ZJG
https://ibb.co/0G0h7Q4


Notice that when I talk to the chicken, the godray persists during the fade out.
While if I talk to the cat, the godray does not persist. (This is what I want.)

There is one solution I came up but it's an annoying one. To have to use Plugin Command: eraseFilter godray eachtime eachtime there is a Fade out effect just to deactivate the filter everytime so it does not show on top of the Fade out.

Is there a way (globally or a hard setting perhaps)on how I can make it show like the cat? wherein the filter is underneath the Fade out effect.

EDIT: SMH, SET THAT ****ING 0 TO 2 AND IT SOLVES THE PROBLEM. THANK YOU GUYS!!

Plugin command: createFilter godray godray 0

Behavior of the above will include the whole map and will be on top of the fade out.

Plugin command: createFilter godray godray 2

Behavior of the above will include map(tiles+characters) and will be below the fade out.

I hope this helps others who may encounter this in the future.
 
Last edited:

Espilonarge

Veteran
Veteran
Joined
Apr 24, 2016
Messages
128
Reaction score
60
First Language
English
Primarily Uses
You've made 2 major mistakes at 0:03.

1) When using a "createFilter" plugin command, you need to use the very same ID for every subsequent filter command so the plugin can identify what to do with each filter. In your case, you used "createFilter godray godray 0" instead of "createFilter godrays godray 0" which is why the "setFilter" and "moveFilter" won't do anything.
2) When you copied the examples I provided, you didn't make any changes to the values. Even if you were using the correct ID when using the "createFilter" plugin command, simply using "setFilter godrays A B C 0" or "moveFilter godrays A B C X Y" will do nothing as the plugin requires actual values to understand how to setup the filters.

I thought you would have at least read the documentation on page 1 to understand what I was referring to with my examples but clearly I'm going to have to provide a better/easier to understand example of what I'm referring to.

In the screenshot below, I'm using the "default" values referenced from the filter list in the first post of the thread.



Please refer to my previous post and change the values where necessary if you require the godrays to be at a different angle, how narrow/wide and how bright they appear.
 

cedr777

Lead developer of "Charao Life"
Veteran
Joined
Feb 22, 2018
Messages
248
Reaction score
56
First Language
Not English
Primarily Uses
RMMV
It has been a while since I touched this plugin and have forgotten that there was documentation on page one.
I will try the method above when I get home,
I appreciate the help, thanks so much!
EDIT: Tried the above values above and it also works, thanks!
 
Last edited:

Martin

Veteran
Veteran
Joined
Apr 8, 2015
Messages
191
Reaction score
46
First Language
swe
Primarily Uses
RMMV
Great plugin!

Im failing at making the shockwave only last about a couple of tiles. I must have tried 50 combinations. Am I missing something?
 

Espilonarge

Veteran
Veteran
Joined
Apr 24, 2016
Messages
128
Reaction score
60
First Language
English
Primarily Uses
Im failing at making the shockwave only last about a couple of tiles. I must have tried 50 combinations. Am I missing something?
The third value for the shockwave filter is pixel based. MV's default tilesize is 48x48 so if you only need it to reach two tiles, you need to set it to 96.

Example

createFilter shock shockwave 0
setFilter shock 408 312 96 30 160 1
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Karen: Hi, I have a condition that prevents me from wearing a mask. :)

Employee: Can you tell me what it is?

Karen: >:(
Feeling a little overwhelmed... There are so many things to do.
- Building a simple website for portfolio
- Setup *******
- Manage social media
There are so many things inside of these tasks :(
Meet the cute little ghost, FhooFhoo. :kaopride:
If anyone here is looking for another high-potential RPGMaker game--besides She Dreams Elsewhere--be sure to follow Lawmage Academy. Good social media presence will take that game far.
Lol, I was about to write a small tutorial and realized it would belong to the MZ section ....that does not exist yet.

Forum statistics

Threads
99,574
Messages
966,816
Members
131,232
Latest member
Bektos
Top