mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
.. | ||
sce_sys | ||
colored_alpha_f.cg | ||
colored_alpha_f.gxp | ||
colored_alpha_f.h | ||
colored_f.cg | ||
colored_f.gxp | ||
colored_f.h | ||
colored_v.cg | ||
colored_v.gxp | ||
colored_v.h | ||
gxp_to_c.c | ||
Makefile | ||
readme.txt | ||
textured_alpha_f.cg | ||
textured_alpha_f.gxp | ||
textured_alpha_f.h | ||
textured_f.cg | ||
textured_f.gxp | ||
textured_f.h | ||
textured_v.cg | ||
textured_v.gxp | ||
textured_v.h |
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