Custom PPSSPP shaders
|
11-03-2015, 03:13 AM
Post: #211
|
|||
|
|||
RE: Custom PPSSPP shaders
@Nick001 from what I checked now your shader has some hardcoded resolutions, that might be reason why it's still failing and it would always fail same way, you assume stuff like 272 being psp resolution height or 480x272 being psp proportions, which would be a case of psp display, but not always for buffer sizes and in those situations your shader fails.
My shader was broken in I guess same situations, but it always was reading the input out of ppsspp that's why it got fixed. So just use u_texelDelta or u_pixelDelta uniforms where the first is 1.0/rendering resolution, and the second is 1.0/display resolution. Once you replace those hardcoded resolutions you have there, I belive your shader should also work fine in latest builds. You can try just replacing: Code: float lines = 272.0; Code: uniform vec2 u_pixelDelta; And you should already see same result in all resolutions/window sizes doesn't matter the buffer size, through I'm not sure how you really want it to look, so just do it how it will fit your needs. @[Unknown] thanks for the fix, for me it wasn't even crashing just printing a message it cannot save and I was just wondering why.~_~ 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. |
|||
« Next Oldest | Next Newest »
|