SLI Zone
NVIDIA.com Developer Home

Last Updated: 05 / 09 / 2004

Cg Sample Shaders

 

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!


NV2X Vertex

 

anisotropic_lighting bump_reflection_mapping fresnel_demo

anisotropic_lighting

 

bump_reflection_mapping

 

fresnel

 

fresnel_reflection grass_demo lighting_demo

fresnel_reflection_dx8

 

grass

 

lighting

 

matrix_palette_skinning procedural_terrain_demo refract_reflect_demo

matrix_palette_skinning

 

procedural_terrain

 

refract_reflect

 

refractive_dispersion_demo simple_fog simple_lighting

refractive_dispersion

 

simple_fog

 

simple_lighting

 

sine_wave_perturbation_dx8 sine_wave_perturbation_ogl specular_lighting_demo

sine_wave_perturbation_dx8

 

sine_wave_perturbation_ogl

 

specular_lighting

 

stencil_shadow_volumes vertex_noise water_demo

stencil_shadow_volumes

 

vertex_noise

 

water

 


NV2X Pixel

 

bump_dot3_diffuse_specular bump_dot3x2_diffuse_specular bump_horizon_mapping

bump_dot3_diffuse_specular

 

bump_dot3x2_diffuse_specular

 

bump_horizon_mapping

 

bump_reflection_mapping detail_normal_maps dot3_diffuse_specular

bump_reflection_mapping

 

detail_normal_maps

 

dot3_diffuse_specular

 

flare grass_rendering hardware_shadow_maps

flare

 

grass_rendering

 

hardware_shadow_maps

 

soft_stencil_shadows water_interaction  

soft_stencil_shadows

 

water_interaction

 








Cg_Effects_Explained.zip ( 421 KB)


NVISION 08