fixed some issues with path tracing and noisy texture/glossy material