updated physics example with shadows