self-shadowing and shadows on models in general. Usage of depth textures can be toggled using ?renderer.useDepthTexture = true/false in the JavaScript console. This was SVN commit r3495.
Other miscellaneous tidyings. This was SVN commit r3386.
Create TerrainRenderer, ShadowMap and WaterManager classes to divide CRenderer's functions into more logical units. This was SVN commit r3332.