Quantcast
Channel: 3D Game Engine Programming » Cg
Browsing all 8 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Transformation 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 Article

Image may be NSFW.
Clik here to view.

GPU 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 Article

Image may be NSFW.
Clik here to view.

Environment 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 Article

Image may be NSFW.
Clik here to view.

Normal 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 Article


Image may be NSFW.
Clik here to view.

Projected 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 Article

Image may be NSFW.
Clik here to view.

Introduction 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 Article

Image may be NSFW.
Clik here to view.

Transformation 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

Browsing all 8 articles
Browse latest View live




Latest Images