         ly = light.position[1]
 
         switch @rendering.renderer
-          when Shady.CANVAS
+          when Shady.RENDERER.CANVAS
             @renderer.context.lineWidth = 0.5
 
             do @renderer.context.beginPath

            @renderer.context.fillStyle = light.diffuseHex

            do @renderer.context.fill
          when Shady.SVG
            lx += @renderer.halfWidth
            ly = @renderer.halfHeight - ly


      @rendering.mesh.slices
    )

    @material = new FSS.Material @rendering.mesh.ambient, @rendering.mesh.diffuse

    @mesh = new FSS.Mesh @geometry, @material

    @scene.add @mesh

