Max light and instance count are now preprocessor constants.