Sorry for being such a noob. I want to convert some .cg shaders into .glsl, for retroarch android and i am lost. Thanks a lot
Any of the Cg shaders that can be successfully converted via the script are already included in the glsl shader pack available from the online updater. Is there a reason you want to convert them yourself?
Well, i was just thinking in trying some of the older versions of crt shaders by Hyllian (there is a topic with many of his early versions), because the latest versions (the ones in the pack) give me some errors on my old and dusty Galaxy S2. It’s a long shot but… maybe i get lucky.
ah, ok. You need python3 and you run it like this: python3 cg2glsl.py original-shader.cg converted-shader.glsl
Thank you very much!