Depth Shadows Using OpenGL
This sample code, using the ARB vertex and fragment programs, demonstrates creating depth shadows (intensity of shadow depends on distance to the light source). Perpixel lighting with bump mapping, specular highlights and gloss are produced in one pass. Includes source and binaries.
Recently Featured Posts
- Accessing Microsoft Windows 8 Desktop Sensors
- Shader Effects: Glow and Bloom
- Shader Effects: Screen Space Ambient Occlusion
- Shader Effects: Refraction
- Shader Effects: Blend Modes
- Shader Effects: Gamma Correction
- Follow Devmaster.net on Facebook, Twitter, and Google+
- Shader Effects: Depth of Field
- Shader Effects: Shadow Mapping
- Shader Effects: Old Film
Comments