examples/gl/shadowsExample/README.md
This example demonstrates how to use multiple lights, shadows, materials and meshes. The lights move around the scene and slowly change color.
You will learn how to..
Pay attention to..
ofShadow::enableAllShadows()ofShadow::setAllShadowNormalBias(-4.f);ofShadow::setAllShadowTypes(shadowType);if( light->shouldRenderShadowDepthPass() ) {When launching this app, you should see the OF logo, two cubes, a sphere and a point light going through the O.
Instructions for use:
spacebar to enable and disable shadows.f to toggle drawing frustumsright to change the shadow type between hard and softer shadowsup and down to increase and decrease the sample radius, the larger the sample, the more blurry ( does not apply to hard shadows ).This Example uses the following classes: