Wikibooks:Collections/Cg Programming in Unity

This is a collection of the pages in a Wikibooks book that can be easily saved, rendered electronically, and ordered as a printed book. For information and help on Wikibooks collections, see Help:Collections.  
[ Download PDF ] [ Open in Collection Creator ] [ Order Printed Book ]  
[ About ] [ FAQ ] [ Feedback ] [ Help ] [ Recent Changes ] 
Cg Programming in UnityEdit
An Introduction to RealTime 3D GraphicsEdit
 Introduction
 Basics
 Minimal Shader
 RGB Cube
 Debugging of Shaders
 Shading in World Space
 Transparent Surfaces
 Cutaways
 Transparency
 OrderIndependent Transparency
 Silhouette Enhancement
 Basic Lighting
 Diffuse Reflection
 Specular Highlights
 TwoSided Surfaces
 Smooth Specular Highlights
 TwoSided Smooth Surfaces
 Multiple Lights
 Basic Texturing
 Textured Spheres
 Lighting Textured Surfaces
 Glossy Textures
 Transparent Textures
 Layers of Textures
 Textures in 3D
 Lighting of Bumpy Surfaces
 Projection of Bumpy Surfaces
 Cookies
 Light Attenuation
 Projectors
 Environment Mapping
 Reflecting Surfaces
 Curved Glass
 Skyboxes
 Many Light Sources
 Variations on Lighting
 Brushed Metal
 Specular Highlights at Silhouettes
 Diffuse Reflection of Skylight
 Translucent Surfaces
 Translucent Bodies
 Soft Shadows of Spheres
 Toon Shading
 NonStandard Vertex Transformations
 Screen Overlays
 Billboards
 Nonlinear Deformations
 Shadows on Planes
 Mirrors
 Graphics without Shaders
 Rotations
 Projection for Virtual Reality
 Bézier Curves
 Hermite Curves
 Appendix on the Programmable Graphics Pipeline and Cg Syntax
 Programmable Graphics Pipeline
 Vertex Transformations
 Vector and Matrix Operations
 Applying Matrix Transformations
 Rasterization
 PerFragment Operations