Tweaked god rays quality

This commit is contained in:
Michaël Lemaire 2016-09-18 19:14:09 +02:00
parent ce33390321
commit 655e0d784a

View file

@ -68,7 +68,7 @@ void GodRaysSampler::setLighting(LightingManager *manager) {
}
void GodRaysSampler::setQuality(double factor) {
setQuality(5.0 / (factor * 8.0 + 1.0), 100.0, 5.0 / (factor * 80.0 + 1.0));
setQuality(5.0 / (factor * 5.0 + 1.0), 100.0, 5.0 / (factor * 50.0 + 1.0));
reset();
}