Sample light control