[Bf-cycles] SSS works with CUDA on GPU
Thomas Dinges
blender at dingto.org
Thu Oct 3 14:25:50 CEST 2013
Hi,
I tested SSS on GPU from time to time, and always got compile errors
during the kernel compilation.
But with latest SVN this surprisingly works?! Simply enabling the
feature and compile the CUDA kernel (sm_21 tested here, on Geforce 540M).
As far as I can tell it renders correct with all fallof modes. Have not
messured performance yet.
Best regards,
Thomas
Index: intern/cycles/kernel/kernel_types.h
===================================================================
--- intern/cycles/kernel/kernel_types.h (revision 60526)
+++ intern/cycles/kernel/kernel_types.h (working copy)
@@ -68,6 +68,7 @@
#if __CUDA_ARCH__ >= 200
#define __KERNEL_ADV_SHADING__
#define __BRANCHED_PATH__
+#define __SUBSURFACE__
#endif
#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20131003/5ac35141/attachment.htm
More information about the Bf-cycles
mailing list