Introduction to Cg Runtime with OpenGL
Cg Runtime - Example 2In this article I will provide a brief introduction to the Cg runtime and I will show a very simple example that uses the Cg shader language. I will assume that the reader has...
View ArticleTransformation and Lighting in Cg
Spotlight Shader Effect In this article I will demonstrate how to implement a basic lighting model using the Cg shader language. In this article, I assume the reader is familiar with the OpenGL...
View ArticleGPU Skinning of MD5 Models in OpenGL and Cg
Bob with Lamp (GPU Skinning) This tutorial builds upon the previous article titled [Loading and Animating MD5 Models with OpenGL]. It is highly recommended that you read the previous article before...
View ArticleEnvironment Mapping with Cg and OpenGL
Environment Mapping In this article I will demonstrate an effect called Environment Mapping. Environment mapping attempts to simulate the effect of reflective or refractive surfaces in a shader...
View ArticleNormal Mapping with Cg and OpenGL
NormalMapping In this article, I will discuss a technique called normal mapping. Normal mapping is a shader technique that encodes pre-computed surface normals in a texture that can be used to add...
View ArticleProjected Shadow Mapping with Cg and OpenGL
Projective Shadow Mapping In this article, I will show how to implement projective shadow mapping in OpenGL using Cg shaders. The basis of this post comes from the article titled [Transformation and...
View ArticleIntroduction to Shader Programming with Cg 3.1
NVIDIA Cg In this article I will introduce the reader to shader programming using the Cg shader programming language. I will use OpenGL graphics API to communicate with the Cg shaders. This article...
View ArticleTransformation and Lighting in Cg 3.1
Lighting with Cg 3.1 In this article I will demonstrate how to implement a basic lighting model using the Cg shader language. If you are unfamiliar with using Cg in your own applications, then please...
View Article
More Pages to Explore .....