Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
RETRO...G2GLSL(6)  System Manager's Manual: retroarch-cg2glsl  RETRO...G2GLSL(6)

NAME
     retroarch-cg2glsl - Shader converter.

SYNOPSIS
     retroarch-cg2glsl [Cg file] [GLSL file output]

     retroarch-cg2glsl [Cg directory] [GLSL directory output]

DESCRIPTION
     retroarch-cg2glsl	converts Cg shaders to GLSL shaders. It can convert sin-
     gle shaders as well as whole folder structures in batch. 100% compatibility
     is not guaranteed, but almost all shaders	should	work  fine.  Cg  presets
     (.cgp) are not converted at the moment, but converting them is as simple as
     copying  over  the  .cgp, rename it to .glslp and replace references to .cg
     files to .glsl.

     Requires Python 3 and cgc (nvidia-cg-toolkit) 3.1.

EXAMPLE COMMANDLINES
     Convert a Cg shader to GLSL shader
	    retroarch-cg2glsl prog.cg(p) prog.glsl(p)

     Convert a Cg directory to GLSL directory
	    retroarch-cg2glsl cg-dir out-xml-shader-dir

RETROARCH-CG2GLSL		  July 10, 2014 	       RETRO...G2GLSL(6)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=retroarch-cg2glsl&sektion=6&manpath=FreeBSD+Ports+15.1.quarterly>

home | help