[Bf-blender-cvs] [ddb90691fd0] cycles_texture_cache: Cycles: Disabled anisotropic texture cache lookups for emission shaders.

Stefan Werner noreply at git.blender.org
Fri Jan 11 13:44:37 CET 2019


Commit: ddb90691fd0eb284d090e94931e032fd811e5cc4
Author: Stefan Werner
Date:   Fri Jan 11 13:44:34 2019 +0100
Branches: cycles_texture_cache
https://developer.blender.org/rBddb90691fd0eb284d090e94931e032fd811e5cc4

Cycles: Disabled anisotropic texture cache lookups for emission shaders.

Leaving it enabled lead to excessive render times in certain scenes.

===================================================================

M	intern/cycles/kernel/svm/svm_image.h

===================================================================

diff --git a/intern/cycles/kernel/svm/svm_image.h b/intern/cycles/kernel/svm/svm_image.h
index c6408e32149..07657d9341b 100644
--- a/intern/cycles/kernel/svm/svm_image.h
+++ b/intern/cycles/kernel/svm/svm_image.h
@@ -16,7 +16,7 @@
 
 #ifdef __OIIO__
 #  include "kernel/kernel_oiio_globals.h"
-#  define NEAREST_LOOKUP_PATHS (PATH_RAY_DIFFUSE | PATH_RAY_SHADOW | PATH_RAY_DIFFUSE_ANCESTOR | PATH_RAY_VOLUME_SCATTER | PATH_RAY_GLOSSY)
+#  define NEAREST_LOOKUP_PATHS (PATH_RAY_DIFFUSE | PATH_RAY_SHADOW | PATH_RAY_DIFFUSE_ANCESTOR | PATH_RAY_VOLUME_SCATTER | PATH_RAY_GLOSSY | PATH_RAY_EMISSION)
 #  define DIFFUSE_BLUR_PATHS (PATH_RAY_DIFFUSE | PATH_RAY_DIFFUSE_ANCESTOR)
 #endif



More information about the Bf-blender-cvs mailing list