Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Textures and Rendering Resolution bug
09-28-2016, 07:26 PM
Post: #1
Custom Textures and Rendering Resolution bug
So I really like the new Custom Texures feature, but while making a couple of textures I decided to tweak my emulator settings to get an even better looking game. So I started by increasing resolution and change a couple other settings. But then I noticed my textures where misaligned and I found out the Rendering Resolution setting was the culprit. On x3 internal resolution some textures are misaligned or they render with some weird distortion, while at x4 internal resolution it doesn't. It only happens in OpenGL (maybe Vulcan too, but I can't test it), it also happens on the latest dev version and stable 1.3.

Here is a couple pictures to show the problem:
   

Here the resolution is set to x3. The "System" text, which is split in three separate images, is misaligned on the second S and the text on the bottom of the screen looks odd when compared to the next picture.

   

Here the resolution is set to x4. The "System" text shows properly and the text on the bottom of the screen looks better than on the last picture.
Find all posts by this user
Quote this message in a reply
09-28-2016, 07:47 PM
Post: #2
RE: Custom Textures and Rendering Resolution bug
Just a guess, but if one of the other settings you changed was forcing "nearest" texture filtering(or if game does that on it's own to affected textures), resolutions with lower pixel density will have such artifacts by design, that's just how this filtering works with stretched textures(commonly fonts) where some "pixels" will be squished, while others stretched out, effectively turning what should be square into rectangles and does that pretty randomly so it usually looks exactly as the problem on your screenshots.

http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
Find all posts by this user
Quote this message in a reply
09-28-2016, 09:03 PM
Post: #3
RE: Custom Textures and Rendering Resolution bug
Solution: Use internal resolutions that are Powers of 2, or force linear filtering, but then other things will look terrible.
Find all posts by this user
Quote this message in a reply
09-28-2016, 10:49 PM
Post: #4
RE: Custom Textures and Rendering Resolution bug
Thanks for the answers. It looks like texture filtering does affect the text (and can fix it). The thing is, the default setting (Auto) messes up the text while the setting that fixes it makes other stuff worse. Internal resolutions that are powers of 2 work, so I'll have to keep it that way but on some machines that might not be possible (except x2). Anyway thanks again for the help! Btw, is there a reason why texture upscaling doesn't work while custom textures are loaded? They could only affect non custom textures...
Find all posts by this user
Quote this message in a reply
09-29-2016, 12:41 AM
Post: #5
RE: Custom Textures and Rendering Resolution bug
Texture upscaling should affect non-custom textures. Are you sure it's not working?

"Auto" texture filtering just trusts the game. When the game draws certain things, it specifies whether to draw it at linear or nearest. But its decisions are really built for 1x render resolution and 1x textures, since that was all the PSP supported.

-[Unknown]
Find all posts by this user
Quote this message in a reply
09-29-2016, 01:26 AM
Post: #6
RE: Custom Textures and Rendering Resolution bug
Alright so the texture filtering cannot be fixed because it's a game's issue, got it. And about the texture upscaling I found out why I thought it didn't work at the same time. When you change most settings, the effects are seen instantly. In texture upscaling's case, the changes are only seen when the textures are reloaded (for example, I loaded a savestate again) regardless of custom textures being on or not. I didn't notice that behavior at first so sorry for the useless question. And I guess in the end there was no bug. Thanks for all the info then!
Find all posts by this user
Quote this message in a reply
09-29-2016, 03:57 AM (This post was last modified: 09-29-2016 04:39 AM by [Unknown].)
Post: #7
RE: Custom Textures and Rendering Resolution bug
Hmm, I thought that changing the texture upscaling setting was supposed to flush the texture cache... that does sound like a bug.

-[Unknown]

Okay, that issue should be fixed in some upcoming git build. I'm guessing you change the setting from the pause menu, which wasn't working properly.

-[Unknown]
Find all posts by this user
Quote this message in a reply
10-01-2016, 06:09 AM
Post: #8
RE: Custom Textures and Rendering Resolution bug
(09-29-2016 03:57 AM)[Unknown] Wrote:  Okay, that issue should be fixed in some upcoming git build. I'm guessing you change the setting from the pause menu, which wasn't working properly.

-[Unknown]

Oh good to know! At least all of this helped to really find a bug. And yeah I did change the settings from the pause menu, because I usually make my settings game-specific and I always forget you can check a game's settings without lauching it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: