Cycles:
* Increase the maximum amount of closures per shader from 16 to 64, so more complex closure trees can be rendered. I measured performance on CPU and GPU (Geforce 540M) and couldn't find a performance impact, but if someone encounters a noticeable impact on his system, please report.
This commit is contained in:
@@ -436,7 +436,7 @@ typedef enum AttributeStandard {
|
||||
|
||||
/* Closure data */
|
||||
|
||||
#define MAX_CLOSURE 16
|
||||
#define MAX_CLOSURE 64
|
||||
|
||||
typedef struct ShaderClosure {
|
||||
ClosureType type;
|
||||
|
Reference in New Issue
Block a user