Category Archives: OpenGL

OpenGL Shadow Mapping Example

Purpose of the Sample:

This sample demonstrates how to do shadow mapping.

CGame.h

CGame.cpp

vertexPass0.glsl

fragmentPass0.glsl

vertexPass1.glsl

fragmentPass1.glsl

shadowMapVertex.glsl

shadowMapFragment.glsl

Download Sample App