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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user