Allow specifying a darkness threshold