09-30-2013, 10:26 PM (This post was last modified: 10-01-2013, 12:30 AM by LunaMoo.)
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 great 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 now 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.
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
10-01-2013, 07:46 AM (This post was last modified: 10-01-2013, 07:53 AM by solarmystic.)
(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 great 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 now 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.
10-01-2013, 08:14 AM (This post was last modified: 10-01-2013, 08:15 AM by solarmystic.)
(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.
(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
(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.
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
10-01-2013, 04:07 PM (This post was last modified: 10-01-2013, 04:14 PM by ravid1323.)
(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.
oh man... maybe i did another thing... ok i thik it also non buffer rending. im playing gow
10-01-2013, 05:06 PM (This post was last modified: 10-02-2013, 12:20 AM by LunaMoo.)
@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 infrastructure.
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 mostly.
================
~I changed the first post a bit to add some more info and version requirements.
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.
10-10-2013, 05:26 PM (This post was last modified: 10-10-2013, 05:33 PM by Ritori.)
I think in Project Diva little to bright?
To create shader myself kinda out of my knowledge
yup it kinda impossible for me now except there are simple tutorial
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