www.xbdev.net
xbdev - software development
Saturday December 7, 2024
Home | Contact | Support | Shaders.. Programming the GPU... | ShaderX.. Making our graphics card work for us..
>>
     
 

ShaderX..

Making our graphics card work for us..

 

Cg - C for Graphics

by bkenwright@xbdev.net

 

 

Basics of Cg Programming

 

 

  • Tutorial 1: Using DirectX and Cg

  • Tutorial 2: Using OpenGL and Cg

  • Tutorial 3: Just a basic file!

  • Tutorial 4: Pixels!...pixels...lots of little dots

  • more soon.....

 

 

Cg Demos with Source

 

 



   

Programmed For/With

    ScreenShots
  Code 1 : Making it look simple (Basic Cg Vertex Shader)

Source Code

Executable

  Code 2 : Basic Vertex & Pixel Shader Texture

Source Code

Executable

  Code 3 : Diffuse Lighting

Source Code

Executable

  Code 4 : Fresnel Effect

Source Code

Executable

  Code 5 : Render Edges Only

Source Code

Executable

  Code 6 : Reflection Effect

Source Code

Executable

  Code 7 : Converting Flat Surface to Torus Shape

Source Code

Executable

  Code 8 : Black & White (Lumi YUV) Output

Source Code

Executable

  Code 9 : Kernel 3x3 Pixel Shader Effect (ps_2 + )

 

Source Code

Executable

           
  more soon....        

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2024 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.