NOTE: The
NVIDIA Developer Forums
and the
GPU Computing Forums
require separate logins. We will fix this in the near future when the two forums are merged. Thank you for your patience!
To help you get started, we've provided an extensive list of Cg sample shaders. Following is the current list of sample shaders. You can get the latest shaders using the Cg Browser's automatic update features. Feel free to copy and paste code from our shaders into yours. The Cg Effects Explained document (at the very bottom of this page), describes each of our shaders in detail and provides references to documents that explain some of the techniques that are used.
CgShaders.org also has a great list of sample shaders for DirectX8.1-class hardware as well as NV30-class hardware. Make sure to check out the CgShaders.org Shader Gallery!