Fix #33915: tweak self intersection epsilon for motion blur a bit further, still

had some cases where there were artifacts. Also fix rendering error with shutter
time set to 0.
This commit is contained in:
Brecht Van Lommel
2013-01-23 16:56:02 +00:00
parent 82e4484de2
commit 543e06ce0e
3 changed files with 4 additions and 4 deletions

View File

@@ -216,9 +216,9 @@ void Camera::device_update(Device *device, DeviceScene *dscene, Scene *scene)
/* motion blur */
#ifdef __CAMERA_MOTION__
kcam->shuttertime = (need_motion == Scene::MOTION_BLUR) ? shuttertime: 0.0f;
kcam->shuttertime = (need_motion == Scene::MOTION_BLUR) ? shuttertime: -1.0f;
#else
kcam->shuttertime = 0.0f;
kcam->shuttertime = -1.0f;
#endif
/* type */