now the light propagation seems to work correctly