GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RETROARCH-CG2GLSL (1)

NAME

retroarch-cg2glsl - Shader converter.

CONTENTS

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 single 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-di

Search for    or go to Top of page |  Section 1 |  Main Index


RETROARCH-CG2GLSL RETROARCH-CG2GLSL (1) July 10, 2014

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.