x3dom/x3dom — pull request #370 by aarbelaiz (2014-06-26 10:38:58+00:00)
Title: Consider if a light is defined before defining the light equation

Little fix, the light equation is only needed on the shader, when a light has been defined on the scene.