How to remove menu background blur in MZ

Could you please help me remove the background blur that appears when I open an in-game menu
or the options in the title screen? I never need it in my game.

There is a thread here that has a solution for MV, but it does not seem to work for MZ.

Thank you. :LZSproud:

1000228262.png
Paste the below into a text editor, save as a *.js file, include as a plugin.

Code:
Scene_MenuBase.prototype.createBackground = function() {
    this._backgroundFilter = new PIXI.filters.BlurFilter();
    this._backgroundSprite = new Sprite();
    this._backgroundSprite.bitmap = SceneManager.backgroundBitmap();
//    this._backgroundSprite.filters = [this._backgroundFilter];
    this.addChild(this._backgroundSprite);
    this.setBackgroundOpacity(192);
};
.Edit* ninja'd
Paste the below into a text editor, save as a *.js file, include as a plugin.

Code:
Scene_MenuBase.prototype.createBackground = function() {
    this._backgroundFilter = new PIXI.filters.BlurFilter();
    this._backgroundSprite = new Sprite();
    this._backgroundSprite.bitmap = SceneManager.backgroundBitmap();
//    this._backgroundSprite.filters = [this._backgroundFilter];
    this.addChild(this._backgroundSprite);
    this.setBackgroundOpacity(192);
};
Thank you, this works! But I noticed that with the now removed blur there is also a darken effect that I don't know how to remove.
😅

(Image Removed)
I don't know what you're referring to - you'd have to provide comparison pictures, because I see the tree and ask "darker than what?"

Are you talking about the fact that your window has a background?
It is the last line. Since your scene background color is pure black it makes the picture darker.
JavaScript:
Scene_MenuBase.prototype.createBackground = function() {
    this._backgroundFilter = new PIXI.filters.BlurFilter();
    this._backgroundSprite = new Sprite();
    this._backgroundSprite.bitmap = SceneManager.backgroundBitmap();
//    this._backgroundSprite.filters = [this._backgroundFilter];
    this.addChild(this._backgroundSprite);
//    this.setBackgroundOpacity(192);
};
I don't know what you're referring to - you'd have to provide comparison pictures, because I see the tree and ask "darker than what?"

Are you talking about the fact that your window has a background?
Here's a comparision.

Screenshot 2024-08-29 153144.jpg

Screenshot 2024-08-29 153322.jpg


It is the last line. Since your scene background color is pure black it makes the picture darker.
Thanks a bunch! This fixed it! :LZSproud:

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-menu-background-blur-in-mz.171514/