Post Reply 
 
Thread Rating:
  • 11 Votes - 4.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom PPSSPP shaders
09-30-2013, 10:26 PM (This post was last modified: 10-01-2013 12:30 AM by LunaMoo.)
Post: #16
RE: Custom PPSSPP shaders
Well that line should be correct as far as I understand what I'm doing with it, it's basically set as the default pixel color so all other shader outputs can be mixed with it, if it wouldn't be seen by any reason the output would be set to non existing variable probably resulting in some sort of crash, but it's strange it works for others.
Maybe location of setting it matters I don't know soo much to be sure either;c, uploaded just now a version where I set that vector inside of main function, maybe it will help, through from my limited understanding it's pretty much same thing.

Edit: I installed AMD GPU ShaderAnalyzer and that tool is damn great:O, my shader compiled on it without a problem on all gpu's at latest drivers, but then I saw @solarmystic recommending 11.11 driver for legacy gpu's, this tool actually allows checking older drivers without installing them :X and it indeed failed in quite a few lines. Gonna try fixing it now @_@. Now just hope it can be fixed without updating drivers on those older gpu's.

One more Edit: AMD legacy drivers might be troublesome and stupid at times, but damn that shader analyzer tool is greatSmile the shader should now fully work on 11.11 legacy drivers, so if you're reading this @solarmystic, unless yours was different problem it should fully work on your gpu nowSmile and sorry for not thinking about that earlier.^_^;

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
10-01-2013, 03:40 AM
Post: #17
RE: Custom PPSSPP shaders
Got it on android. Pass thefiles to ppsspp_state on /sdcard/psp open ppsspp in developer tools and click on language load and close and open ppsspp and enjoy
Find all posts by this user
Quote this message in a reply
10-01-2013, 07:46 AM (This post was last modified: 10-01-2013 07:53 AM by solarmystic.)
Post: #18
RE: Custom PPSSPP shaders
(09-30-2013 10:26 PM)LunaMoo Wrote:  Edit: I installed AMD GPU ShaderAnalyzer and that tool is damn great:O, my shader compiled on it without a problem on all gpu's at latest drivers, but then I saw @solarmystic recommending 11.11 driver for legacy gpu's, this tool actually allows checking older drivers without installing them :X and it indeed failed in quite a few lines. Gonna try fixing it now @_@. Now just hope it can be fixed without updating drivers on those older gpu's.

One more Edit: AMD legacy drivers might be troublesome and stupid at times, but damn that shader analyzer tool is greatSmile the shader should now fully work on 11.11 legacy drivers, so if you're reading this @solarmystic, unless yours was different problem it should fully work on your gpu nowSmile and sorry for not thinking about that earlier.^_^;

It totally works now, thanks a lot mate. +1 rep to you for going above and beyond the call of duty in fixing the issue for those specific drivers. I'd pretty much like to upgrade to the latest ones if I could, but they're pretty bad for these line of legacy cards and stability in PPSSPP which are much better in the older drivers

If you don't mind me asking, what exactly were the offending lines that choked on the older drivers? It'd be nice to do a side by side comparison on why the older implementation didn't work and why the newer one works.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
10-01-2013, 08:08 AM
Post: #19
RE: Custom PPSSPP shaders
so, how to put this shader mod in 0.9??? or this feature (i guess) is already implement in 0.9??

Operating System : Win8 Pro 32-bit, based on x64 Procie
Motherboard : ECS G41T-R3V1.0A
Processor : Pentium(R) Dual-Core CPU E5700 @ 3.00GHz x2 ~2992MHz (2 CPU's)
Memory : 4096MB RAM
VGA : Intel(R) G41 Express Chipset (1024 MB)
OpenGL : 5.1.2600.5512
Processor Codename : Wolfdale


Need Say More..?
Find all posts by this user
Quote this message in a reply
10-01-2013, 08:13 AM (This post was last modified: 10-01-2013 08:13 AM by Ritori.)
Post: #20
RE: Custom PPSSPP shaders
(10-01-2013 08:08 AM)darkjoe16 Wrote:  so, how to put this shader mod in 0.9??? or this feature (i guess) is already implement in 0.9??

Try read the first post it kinda liked plugin Smile by the way @LunaMoo nice stuff Smile
I maybe test on my laptop today Big Grin

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
10-01-2013, 08:14 AM (This post was last modified: 10-01-2013 08:15 AM by solarmystic.)
Post: #21
RE: Custom PPSSPP shaders
(10-01-2013 08:08 AM)darkjoe16 Wrote:  so, how to put this shader mod in 0.9??? or this feature (i guess) is already implement in 0.9??

1. You need to get the latest 0.9.1 dev builld from the buildbot that supports FXAA. E.g. v0.9.1-1241-ge7fc1e3 and newer.

2. Just download the mod from the OP's first post, and then extract the files into the ppsspp\assets\shaders folder, replacing the default fxaa.fsh and fxaa.vsh files.

3. Enable FXAA in the emulator, and it should work right away.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
10-01-2013, 08:29 AM
Post: #22
RE: Custom PPSSPP shaders
(10-01-2013 08:14 AM)solarmystic Wrote:  
(10-01-2013 08:08 AM)darkjoe16 Wrote:  so, how to put this shader mod in 0.9??? or this feature (i guess) is already implement in 0.9??

1. You need to get the latest 0.9.1 dev builld from the buildbot that supports FXAA. E.g. v0.9.1-1241-ge7fc1e3 and newer.

2. Just download the mod from the OP's first post, and then extract the files into the ppsspp\assets\shaders folder, replacing the default fxaa.fsh and fxaa.vsh files.

3. Enable FXAA in the emulator, and it should work right away.

thanks solarmystic for the guide, gotta try it....

Operating System : Win8 Pro 32-bit, based on x64 Procie
Motherboard : ECS G41T-R3V1.0A
Processor : Pentium(R) Dual-Core CPU E5700 @ 3.00GHz x2 ~2992MHz (2 CPU's)
Memory : 4096MB RAM
VGA : Intel(R) G41 Express Chipset (1024 MB)
OpenGL : 5.1.2600.5512
Processor Codename : Wolfdale


Need Say More..?
Find all posts by this user
Quote this message in a reply
10-01-2013, 08:32 AM
Post: #23
RE: Custom PPSSPP shaders
it work well as @LunaMoo you got great stuff there Big Grin
is there more shader Tongue?
1+!

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
10-01-2013, 08:36 AM (This post was last modified: 10-01-2013 08:39 AM by darkjoe16.)
Post: #24
RE: Custom PPSSPP shaders
yeah Finally Some PS3 HD image, this is real mhp3rd, i think, hehehe... but thanks for LunaMoo for this great shader mod!!!


Attached File(s) Thumbnail(s)
   

Operating System : Win8 Pro 32-bit, based on x64 Procie
Motherboard : ECS G41T-R3V1.0A
Processor : Pentium(R) Dual-Core CPU E5700 @ 3.00GHz x2 ~2992MHz (2 CPU's)
Memory : 4096MB RAM
VGA : Intel(R) G41 Express Chipset (1024 MB)
OpenGL : 5.1.2600.5512
Processor Codename : Wolfdale


Need Say More..?
Find all posts by this user
Quote this message in a reply
10-01-2013, 02:51 PM
Post: #25
RE: Custom PPSSPP shaders
(10-01-2013 03:40 AM)ravid1323 Wrote:  Got it on android. Pass thefiles to ppsspp_state on /sdcard/psp open ppsspp in developer tools and click on language load and close and open ppsspp and enjoy

I tried, and not worked. Sad

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
10-01-2013, 03:51 PM
Post: #26
RE: Custom PPSSPP shaders
Are we going to be getting a D3D version of ppsspp any time soon, so we can use an alternative(and superior) shader program like SweetFX?
Find all posts by this user
Quote this message in a reply
10-01-2013, 04:07 PM (This post was last modified: 10-01-2013 04:14 PM by ravid1323.)
Post: #27
RE: Custom PPSSPP shaders
(10-01-2013 02:51 PM)GuilhermeGS2 Wrote:  
(10-01-2013 03:40 AM)ravid1323 Wrote:  Got it on android. Pass thefiles to ppsspp_state on /sdcard/psp open ppsspp in developer tools and click on language load and close and open ppsspp and enjoy

I tried, and not worked. Sad

oh man... maybe i did another thing... ok i thik it also non buffer rending. im playing gow
Find all posts by this user
Quote this message in a reply
10-01-2013, 04:21 PM
Post: #28
RE: Custom PPSSPP shaders
Still not works.

The devs could add it to emulador internaly, no by files. Would be possible?

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
10-01-2013, 05:06 PM (This post was last modified: 10-02-2013 12:20 AM by LunaMoo.)
Post: #29
RE: Custom PPSSPP shaders
@Ritori about more shaders, well anyone can write it's own GLSL shader to do whatever he wants ~ as long as it's not too complicated. At least for now, because without coding more complicated shader infrastructure we're limited to 1 pass shaders(stuff like for example CRT shaders need more passes I think). This limitation might probably change once Hrydgard implements SSAO (if it'll allow external files as well) since that will require all of that extra shader infrastructureSmile.

About creating new shaders there are really alot of silly stuff we can do with simple shaders and there are lots of tutorials for both HLSL and GLSL which are very alike and easy to convert between(usefull if PPSSPP ever get's DX), there are also many simple one pass shaders existing already which can be reused for PPSSPP with simple changes as many people release it either totally free to use or free to re-use as long as meeting the license requirements or credited. So it's really all finding nice simple fragment(GLSL) or pixel(HLSL) shader algorithm and implementing it(you can just edit default FXAA as I did), no point to reinvent wheel so to speak.

================

@isamu GLSL should be easy to port to HLSL, but yeah sweetFX might potentially work on DX version from the start.

================

@GuilhermeGS2 This shader could easily replace default FXAA(it includes it anyway) to be included in APK for android(would need to be build with it ~ dunno really how to compile for android myself;c), but since it has quite a bit options which can be changed only by editing shader file externally it would require whole new gui for them or would always use default settings.
It would probably be simpler to change it so the shader files are actually read externally on android as well, but I really have no clue how, I use my android smartphone pretty much as a phone mostlyTongue.

================


~I changed the first post a bit to add some more info and version requirementsSmile.

Edit: and hell yeah - a new version uploaded;3, added presets for shadeboost, different sharpening method, gamma correction and a few optional variables for more control. No difference with default settings was made, so dig those options as needed.

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
10-10-2013, 05:26 PM (This post was last modified: 10-10-2013 05:33 PM by Ritori.)
Post: #30
RE: Custom PPSSPP shaders
I think in Project Diva little to bright?
[Image: lR2sYeIiwlfHE]
To create shader myself kinda out of my knowledge Blush
yup it kinda impossible for me now except there are simple tutorial Big Grin

edit: damn can't post screenshot properly sorry for that :I

I worse write english so take easy on me
(even my own language realy bad T_T)

Rig to test now :
Windows 8 64 bit (Laptop)
Intel® Core™ i3-3110M (2.4GHz, 3MB L3 Cache)
Nvidia GT720M 2GB
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: