Remove the // comment from the noblur.js and then check the console.log (F8) to see if it's even being run.
How to remove blur?
RPG Maker MV SupportI removed the comment. Like this?

You're going to hate me - I'm not sure how to read the console or find if noblur.js is running. I press F8 but the log is completely blank?
Edit: So the images aren't blurry when I use the "BindtoMap" plugin. Go figure. So I'll just use that instead - it has more options than your average parallax map anyway 🙂 thanks for your help!
Nice, thanks. But is there a way to do some exception?
e.g. i dont want to pixelated pictures in folders 'img/pictures/' and 'img/faces/'. Is it possible to do that? Because at the moment it pixelated all graphics in the game.
For the sake of simplicity, I just narrowed it down to that one function. If you want to be more selective
ImageManager.loadPicture = function(filename, hue) { return this.loadBitmap('img/pictures/', filename, hue, true);};
Code:
ImageManager.loadFace = function(filename, hue) { return this.loadBitmap('img/faces/', filename, hue, true);};
ImageManager.loadPicture = function(filename, hue) { return this.loadBitmap('img/pictures/', filename, hue, false);};ImageManager.loadFace = function(filename, hue) { return this.loadBitmap('img/faces/', filename, hue, false);};This needs to be set as a plugin BEFORE any other plugins that load images.
Basically you can take any one of those functions and override it, just don't use the ImageManager.loadBitmap by itself then.
yea i tried it before post here but it doesn't change anything.
I change it in blank project and straight in rpg_managers.js for test. All graphics are pixelated if i add that css thing in Index.html, if i delete it all graphics would be blured and changes in rpg_managers.js doesn't seems to do anything.
Sorry about my english if I wrote something wrong.
I change it in blank project and straight in rpg_managers.js for test. All graphics are pixelated if i add that css thing in Index.html, if i delete it all graphics would be blured and changes in rpg_managers.js doesn't seems to do anything.
Sorry about my english if I wrote something wrong.
The CSS stuff is for affecting how things are stretched, particularly if you full screen or stretch the window.
The JS stuff actually overrides the filtering at image load time. Like if you don't use the plugin manager, you'd have to do this:
Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="user-scalable=no">
<link rel="icon" href="icon/icon.png" type="image/png">
<link rel="apple-touch-icon" href="icon/icon.png">
<link rel="stylesheet" type="text/css" href="fonts/gamefont.css">
<style type="text/css">
CANVAS {
image-rendering: pixelated;
}
</style>
<title>Luna</title>
</head>
<body style="background-color: black">
<script type="text/javascript" src="js/libs/pixi.js"></script>
<script type="text/javascript" src="js/libs/fpsmeter.js"></script>
<script type="text/javascript" src="js/libs/lz-string.js"></script>
<script type="text/javascript" src="js/rpg_core.js"></script>
<script type="text/javascript" src="js/rpg_managers.js"></script>
<script type="text/javascript" src="js/rpg_objects.js"></script>
<script type="text/javascript" src="js/rpg_scenes.js"></script>
<script type="text/javascript" src="js/rpg_sprites.js"></script>
<script type="text/javascript" src="js/rpg_windows.js"></script>
<script type="text/javascript" src="js/plugins.js"></script>
<script>
ImageManager.loadBitmap = function(folder, filename, hue, smooth) {
if (filename) {
var path = folder + encodeURIComponent(filename) + '.png';
var bitmap = this.loadNormalBitmap(path, hue || 0);
console.log("disabling smoothing for " + path);
bitmap.smooth = false;
return bitmap;
} else {
return this.loadEmptyBitmap();
}
};
</script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>
oh, I see and it affecting everything without exception? Because actually i need to left blurred graphics from picture and face folders in fullscreen mode
But it's ok if that impossible to do. Its already useful thing, thanks again.
Simply doesn't work for me.
Maps remain a blurry mess, the characters are getting more 'crisp'.
Maps remain a blurry mess, the characters are getting more 'crisp'.
I'm also looking for an update on this. I want to use a resolution of 544 by 416 with MV so that I can properly use the VX Ace tiles, but it gets blurry. The above solution worked for characters, but facesets and the such are still blurry.
Please refer back to the first page.
There are two ways to accomplish the same thing, as plugins:
a) Change the operation of loadBitmap
ImageManager.loadBitmap = function(folder, filename, hue, smooth) {
if (filename) {
var path = folder + encodeURIComponent(filename) + '.png';
var bitmap = this.loadNormalBitmap(path, hue || );
//console.log("disabling smoothing for "+path);
bitmap.smooth = false; return bitmap;
} else {
return this.loadEmptyBitmap();
}};
b ) or change the operation of LoadX functions, so that the smooth is false for the load setting you want
ImageManager.loadAnimation = function(filename, hue) {
return this.loadBitmap('img/animations/', filename, hue, true);
};
ImageManager.loadBattleback1 = function(filename, hue) {
return this.loadBitmap('img/battlebacks1/', filename, hue, true);
};
ImageManager.loadBattleback2 = function(filename, hue) {
return this.loadBitmap('img/battlebacks2/', filename, hue, true);
};
ImageManager.loadEnemy = function(filename, hue) {
return this.loadBitmap('img/enemies/', filename, hue, true);
};
ImageManager.loadCharacter = function(filename, hue) {
return this.loadBitmap('img/characters/', filename, hue, false);
};
ImageManager.loadFace = function(filename, hue) {
return this.loadBitmap('img/faces/', filename, hue, true);
};
ImageManager.loadParallax = function(filename, hue) {
return this.loadBitmap('img/parallaxes/', filename, hue, true);
};
ImageManager.loadPicture = function(filename, hue) {
return this.loadBitmap('img/pictures/', filename, hue, true);
};
ImageManager.loadSvActor = function(filename, hue) {
return this.loadBitmap('img/sv_actors/', filename, hue, false);
};
ImageManager.loadSvEnemy = function(filename, hue) {
return this.loadBitmap('img/sv_enemies/', filename, hue, true);
};
ImageManager.loadSystem = function(filename, hue) {
return this.loadBitmap('img/system/', filename, hue, false);
};
ImageManager.loadTileset = function(filename, hue) {
return this.loadBitmap('img/tilesets/', filename, hue, false);
};
mageManager.loadTitle1 = function(filename, hue) {
return this.loadBitmap('img/titles1/', filename, hue, true);
};
ImageManager.loadTitle2 = function(filename, hue) {
return this.loadBitmap('img/titles2/', filename, hue, true);
};
Then to adjust how it operates full screen on devices:
<style type="text/css"> CANVAS{image-rendering: pixelated;}</style>
Has to be in the index.html
If none of this works for you, then your hardware is overriding it.
There are two ways to accomplish the same thing, as plugins:
a) Change the operation of loadBitmap
ImageManager.loadBitmap = function(folder, filename, hue, smooth) {
if (filename) {
var path = folder + encodeURIComponent(filename) + '.png';
var bitmap = this.loadNormalBitmap(path, hue || );
//console.log("disabling smoothing for "+path);
bitmap.smooth = false; return bitmap;
} else {
return this.loadEmptyBitmap();
}};
b ) or change the operation of LoadX functions, so that the smooth is false for the load setting you want
ImageManager.loadAnimation = function(filename, hue) {
return this.loadBitmap('img/animations/', filename, hue, true);
};
ImageManager.loadBattleback1 = function(filename, hue) {
return this.loadBitmap('img/battlebacks1/', filename, hue, true);
};
ImageManager.loadBattleback2 = function(filename, hue) {
return this.loadBitmap('img/battlebacks2/', filename, hue, true);
};
ImageManager.loadEnemy = function(filename, hue) {
return this.loadBitmap('img/enemies/', filename, hue, true);
};
ImageManager.loadCharacter = function(filename, hue) {
return this.loadBitmap('img/characters/', filename, hue, false);
};
ImageManager.loadFace = function(filename, hue) {
return this.loadBitmap('img/faces/', filename, hue, true);
};
ImageManager.loadParallax = function(filename, hue) {
return this.loadBitmap('img/parallaxes/', filename, hue, true);
};
ImageManager.loadPicture = function(filename, hue) {
return this.loadBitmap('img/pictures/', filename, hue, true);
};
ImageManager.loadSvActor = function(filename, hue) {
return this.loadBitmap('img/sv_actors/', filename, hue, false);
};
ImageManager.loadSvEnemy = function(filename, hue) {
return this.loadBitmap('img/sv_enemies/', filename, hue, true);
};
ImageManager.loadSystem = function(filename, hue) {
return this.loadBitmap('img/system/', filename, hue, false);
};
ImageManager.loadTileset = function(filename, hue) {
return this.loadBitmap('img/tilesets/', filename, hue, false);
};
mageManager.loadTitle1 = function(filename, hue) {
return this.loadBitmap('img/titles1/', filename, hue, true);
};
ImageManager.loadTitle2 = function(filename, hue) {
return this.loadBitmap('img/titles2/', filename, hue, true);
};
Then to adjust how it operates full screen on devices:
<style type="text/css"> CANVAS{image-rendering: pixelated;}</style>
Has to be in the index.html
If none of this works for you, then your hardware is overriding it.
It doesn't seem to be doing anything for me, with or without the Nvidia options set. Was this patched in to the engine or something? I've even tested it with 320x240 and it still seems sharp without this plugin turned on and the Nvidia anti-aliasing set to application controlled.
EDIT: Ah, it's actually doing nothing to fix the pixels, I just couldn't notice because all of my graphics are upscaled 16 bit ones essentially. Tested it on default stuff and it wasn't working, however I didn't see the plugin you mentioned in the post above mine for some reason so I will try that out instead.
The screen does not get stretched however, so that's a good sign at least!
EDIT: Ah, it's actually doing nothing to fix the pixels, I just couldn't notice because all of my graphics are upscaled 16 bit ones essentially. Tested it on default stuff and it wasn't working, however I didn't see the plugin you mentioned in the post above mine for some reason so I will try that out instead.
The screen does not get stretched however, so that's a good sign at least!
Okay sorry for the bump, but I don't think simply editing your post gets it higher and I need to know this 😛
With or without the Nvidia settings, with or without the plugin, it all looks the same to me. I need to know if this was patched or something because I know if I can't tell there definitely will be players that can tell and that would suck. The text seems to be a little bit blurry but it could be just the font I'm using. I even tried turning off the plugin and upscaling from 720p to 1080p in Photoshop with Nearest Neighbor and got the same exact results if I had it off. So either this plugin isn't working, or it doesn't need to work, and I really need to know 😮
The part that is working though, is the not stretching it when changing the screen size. It definitely keeps the same aspect ratio which is nice.
Here are my comparison shots. BEFORE is with smoothing, AFTER is with the plugin on, and AFTER PHOTOSHOP is the upscaled 720p to 1080p in Photoshop using Nearest Neighbor. Can you guys tell any difference at all, am I just not seeing it correctly?
http://imgur.com/a/tuwXV
Upon closer inspection, it looks to me that the Photoshop one is the slightest bit clearer, but I don't know if it's because of the screen tint or not.
EDIT: Okay, Photoshop's filtering is definitely cleaner and I can't find any difference between having the plugin on or off. So I must be doing something wrong.
What am I doing wrong?
I have put in the css bit in index.html right where it needs to be, I know this because it is resizing correctly. I have tried the first plugin you mentioned above and a plugin you mentioned on the last page. Am I supposed to be adding these as plugins or should they be embedded in the pre-existing engine ones? @KisaiTenshi
With or without the Nvidia settings, with or without the plugin, it all looks the same to me. I need to know if this was patched or something because I know if I can't tell there definitely will be players that can tell and that would suck. The text seems to be a little bit blurry but it could be just the font I'm using. I even tried turning off the plugin and upscaling from 720p to 1080p in Photoshop with Nearest Neighbor and got the same exact results if I had it off. So either this plugin isn't working, or it doesn't need to work, and I really need to know 😮
The part that is working though, is the not stretching it when changing the screen size. It definitely keeps the same aspect ratio which is nice.
Here are my comparison shots. BEFORE is with smoothing, AFTER is with the plugin on, and AFTER PHOTOSHOP is the upscaled 720p to 1080p in Photoshop using Nearest Neighbor. Can you guys tell any difference at all, am I just not seeing it correctly?
http://imgur.com/a/tuwXV
Upon closer inspection, it looks to me that the Photoshop one is the slightest bit clearer, but I don't know if it's because of the screen tint or not.
EDIT: Okay, Photoshop's filtering is definitely cleaner and I can't find any difference between having the plugin on or off. So I must be doing something wrong.
What am I doing wrong?
I have put in the css bit in index.html right where it needs to be, I know this because it is resizing correctly. I have tried the first plugin you mentioned above and a plugin you mentioned on the last page. Am I supposed to be adding these as plugins or should they be embedded in the pre-existing engine ones? @KisaiTenshi
Did you change any of the load settings from true to false?
The first "plugin" sets them all to false (eg no smoothing), the second one is a copy of the default settings, where you can selectively set certain ones to false. If you use one, don't use the other.
The HTML/CSS affects only the "full screen" effect.
No I copied the first one completely, I wanted it all to have no smoothing but it appears it doesn't work :\ I also tried putting the plugin in a bunch of different places in the load order too and none of that seemed to work either unfortunately.
Didn't try the second, but I understand what I would have to do. I'll test that in a bit.
Didn't try the second, but I understand what I would have to do. I'll test that in a bit.
@KisaiTenshi so I just found something strange.
I put in that second one with all the true and false conditions.
Set everything to false and plugged it in.
Actually made it blurry. I turned off the plugin and it's perfect. So what I was seeing before was probably just photoshop being able to make Nearest Neighbor scaling a bit better than MV can. No idea why it's opposite from what it should be, but the fact of the matter is that it definitely isn't blurry UNLESS I have this plugin with everything set to "false" turned OFF (not like it would matter if it were true or false). Everything is less blurry and colors are much more vibrant with that turned off. No clue why, but it is what it is. They must have patched this in, yes? Still doesn't explain why adding that plugin with "false" would actually ADD blur... which is very strange.
But my game is scaling properly so that's all that matters.
I put in that second one with all the true and false conditions.
Set everything to false and plugged it in.
Actually made it blurry. I turned off the plugin and it's perfect. So what I was seeing before was probably just photoshop being able to make Nearest Neighbor scaling a bit better than MV can. No idea why it's opposite from what it should be, but the fact of the matter is that it definitely isn't blurry UNLESS I have this plugin with everything set to "false" turned OFF (not like it would matter if it were true or false). Everything is less blurry and colors are much more vibrant with that turned off. No clue why, but it is what it is. They must have patched this in, yes? Still doesn't explain why adding that plugin with "false" would actually ADD blur... which is very strange.
But my game is scaling properly so that's all that matters.
Used some code from this thread; definitely looks clearer now, thanks!
I've made the change to the index.html and got the desired result for the images on the screen - it works absolutely perfectly but there's one small issue and I'm not sure how to work around it. While the images are scaling fine, the font is becoming pixelated when I actually want that to remain smooth/crisp. Does anybody know if there's a workaround for this?
I don't understand the process of turning off anti aliasing. Can someone help?
literally follow what @Pazjf just quoted, can confirm it works 100%.
Forgive me if this is a stupid question.
The fix that's been posted here is perfect, but will this also work when the game is deployed onto Mobile?
The fix that's been posted here is perfect, but will this also work when the game is deployed onto Mobile?
Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-blur.47504/