Sunday, September 18, 2005

Lighting

Well i've added the rotation and scale properties support for the entities, I also added a Light class to handle all lighting... still needs a load of work and features, here is a screenshot of the same scene as before but now with a directional light:















Probably going to add the animation next and then come back to the light class later. Some extra features I want to implement for the light class:
  • Flickering (to emulate candles, faulty lights, etc.)
  • Pulse (select min & max radius and rate of pulse, also min & max colour option)
  • Chronos (pass in the sprite to be used)
  • Lens flare

No comments: