ClassiCube/misc/vita
2024-06-20 19:03:55 +10:00
..
sce_sys Consoles: Add icon for Vita, try to fix blocking network sockets for PS3 build, try to fix crash with Xbox build on actual hardware 2023-12-07 19:54:35 +11:00
colored_alpha_f.cg PS3: Make texture animations work 2023-10-06 20:00:48 +11:00
colored_alpha_f.gxp Vita: Add missing files 2023-09-18 21:16:34 +10:00
colored_alpha_f.h Vita: Add missing files 2023-09-18 21:16:34 +10:00
colored_f.cg PS3: Make texture animations work 2023-10-06 20:00:48 +11:00
colored_f.gxp Vita: Add missing files 2023-09-18 21:16:34 +10:00
colored_f.h Vita: Add missing files 2023-09-18 21:16:34 +10:00
colored_v.cg Vita: Add missing files 2023-09-18 21:16:34 +10:00
colored_v.gxp Vita: Add missing files 2023-09-18 21:16:34 +10:00
colored_v.h Vita: Add missing files 2023-09-18 21:16:34 +10:00
gxp_to_c.c Vita: Add missing files 2023-09-18 21:16:34 +10:00
Makefile Slightly tidy up some console makefiles 2024-06-20 19:03:55 +10:00
readme.txt Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_alpha_f.cg PS3: Make texture animations work 2023-10-06 20:00:48 +11:00
textured_alpha_f.gxp Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_alpha_f.h Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_f.cg PS3: Make texture animations work 2023-10-06 20:00:48 +11:00
textured_f.gxp Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_f.h Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_v.cg Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_v.gxp Vita: Add missing files 2023-09-18 21:16:34 +10:00
textured_v.h Vita: Add missing files 2023-09-18 21:16:34 +10:00

Shaders on the PS Vita use the proprietary .gxp binary format

To compile CG shaders to .gxp you need to use
1) Extract libshacccg.suprx - see https://cimmerian.gitbook.io/vita-troubleshooting-guide/shader-compiler/extract-libshacccg.suprx
2) Use vitaShaRK to compile the CG shader (see sample 3 in https://github.com/Rinnegatamante/vitaShaRK for some reference)

You can then use compiled gxp_to_c to convert all the .gxp shaders into .h files, which src/Graphics_PSVita.c can then include

Note that you only need to perform these steps if you want to compile modified shaders - you don't need libshacccg.suprx to run ClassiCube