diff --git a/Cg-shaders.md b/Cg-shaders.md index 82a4f75..6879ce9 100644 --- a/Cg-shaders.md +++ b/Cg-shaders.md @@ -1,5 +1,6 @@ ## Purpose -Cg shaders is a spec from nVidia. It has the great advantage that shaders written in Cg are compatible with both OpenGL and Direct3D. It is also compatible with PlayStation 3 as well. They are also compatible with basic HLSL if some considerations are taken into account. They can even be automatically be compiled into [[GLSL shaders]], which makes Cg shaders a true "write once, run everywhere" shader format. +Cg shaders is a spec from nVidia. It has the great advantage that shaders written in Cg are compatible with both OpenGL and Direct3D. It is also compatible with PlayStation 3 as well. They are also compatible with basic HLSL if some considerations are taken into account. They can even be automatically compiled into [[GLSL shaders]], which makes Cg shaders a true "write once, run everywhere" shader format. +We encourage new shaders targeting RetroArch to be written in this format. ### Example Cg shader void main_vertex