summary refs log tree commit diff
path: root/misc/vita/readme.txt
diff options
context:
space:
mode:
Diffstat (limited to 'misc/vita/readme.txt')
-rw-r--r--misc/vita/readme.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/vita/readme.txt b/misc/vita/readme.txt
new file mode 100644
index 0000000..3dd61a5
--- /dev/null
+++ b/misc/vita/readme.txt
@@ -0,0 +1,9 @@
+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
\ No newline at end of file