Introduction:

The goal of this tutorial is to build a billboard.

I have implemented a billboard on the wall of a building. The building is a commerial building in the center of a commerial square.

The following tutorial will take you through the steps to implement this model. It is assumed the reader has prior basic knowledge of GLSL and can set up a simple glsl program. I have implemented my glsl code in windows using Microsoft Visual Studio 2005.

Daylight view:

Night time view:

Controls of the program:

't' to toggle between daytime and nighttime

The position of the light can be moved using the arrow and home and end buttons.

Source Code: Use the below link to download and run the program.

MS Visual Studio 2005 Code

The Tutorial:

Follow the links on the right to go through the tutuorial step by step.