Have been working on 3D lighting. Still have to implement a distance from light variable.
Good review on how that works in Keith Peter’s book: ActionScript3.0 Animation
Need to plugin a better particle screenPositioning algorithm for better calculations with the light.
Still cant be asked to use triangle meshes. I will stick to building up the spheres by particles.
Use the UP arrow to make the light more intenser. Use the DOWN arrow to dim the light.
The light is attached to your mouse.
[Lab] Sphere study #03 by Script.it, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Netherlands License.