diff --git a/lib/FlashlightComponent.js b/lib/FlashlightComponent.js index 045c06d..909b115 100644 --- a/lib/FlashlightComponent.js +++ b/lib/FlashlightComponent.js @@ -21,6 +21,7 @@ define([ //spotLight.range = 10; spotLight.penumbra = 5; spotLight.intensity = 1; + spotLight.color.setd(1.0, 0.6, 0.3); var spotLightEntity = Game.goo.world.createEntity('FlashLight'); spotLightEntity.setComponent(new LightComponent(spotLight));