Fork me on GitHub

New shader-composer code in WebGL backend

22.07.2010 Uncategorized

Timo added the new dynamic shader-composer code with example. We now support multiple dynamic lights and everything is (again) lit per fragment.

dynamic lights scene

dynamic lights scene

The new code support all X3D light types (PointLight, SpotLight and DirectionalLight ) and Fog. This also the bases for the CommonSurfaceShader implementation.