Home > Real - Time Shaders

Introduction:

Spring 2004.

Advisor: Malcolm Kesson

This page documents an independent exploration into real-time shading language cG and its integration with the cgGL runtime. Objectives included gaining an understanding of real-time shading principles, cG syntax, cgFX usage, and openGL application development. Exploration was made into the creation of a simple graphics engine which could be used to develop and test cgFX profiles.

Resources:

OpenGL BMP Texture Loader

Hello World CG Tutorial

Camera Tutorial

Model View Program

C++ Tutorials at Dev Net

OpenGL Command Reference

Phillip Prahl (scad student)

C++ Reference

 

Simple Functions :

Mouse Callbacks

Loading OBJ Files

Creating Texture Objects for cG

 

The Atabet Emrys Engine Classes:

Geometry Class

Node Class

 

cgfx Shaders:

Dirt-Mapped Environment Map

Spot-light Source Shader

Real-time bump mapping

Advanced Reflection and Refraction

Parallax Mapping