Implemented deferred lighting system for 3D games