Timo added the new dynamic shader-composer code with example. We now support multiple dynamic lights and everything is (again) lit per fragment.
The new code support all X3D light types (PointLight, SpotLight and DirectionalLight ) and Fog. This also the bases for the CommonSurfaceShader implementation.