some optim and trying to add shadow mapping (without sucess)