ShadowCaster
ShadowCaster is an utility I made for learning purpose. Its aim is to compute shadows and texture for a specified heightmap, using various algorithms.
These are the features of ShadowCaster:
- Five shadow generation techniques
- Two texture generation techniques
- Four blending techniques (used to blend the shadowmap with the colormap)
- You can set the position of the light emitter in any point of the map
- Customizable shadow decay(length) and darkness
- OpenGL 3D Viewer (needs a LOT of optimizations!!)
- Limited to 256x256 maps :(
An old version of ShadowCaster
The sample Heightmap with the embossed shadow algorithm and the 2nd texture algorithm.
The previous map viewn in 3D
The sample Heightmap with the Cos function shadow algorithm and the 2nd texture algorithm.
The previous map viewn in 3D
Custom map: a mountain :)
The Mountain custom Map viewn in 3D
The Mountain custom Map viewn in 3D closeup: note the detail texture and the smooth shading applied
ShadowCaster uses for rendering