Cycles: tweaks to properties and nodes
* Passes renamed to samples * Camera lens radius renamed to aperature size/blades/rotation * Glass and fresnel nodes input is now index of refraction * Glossy and velvet fresnel socket removed * Mix/add closure node renamed to mix/add shader node * Blend weight node added for shader mixing weights There is some version patching code for reading existing files, but it's not perfect, so shaders may work a bit different.
This commit is contained in:
@@ -53,7 +53,8 @@ public:
|
||||
|
||||
class SVMCompiler {
|
||||
public:
|
||||
SVMCompiler(ShaderManager *shader_manager, ImageManager *image_manager);
|
||||
SVMCompiler(ShaderManager *shader_manager, ImageManager *image_manager,
|
||||
bool use_multi_closure_);
|
||||
void compile(Shader *shader, vector<int4>& svm_nodes, int index);
|
||||
|
||||
void stack_assign(ShaderOutput *output);
|
||||
@@ -123,6 +124,7 @@ protected:
|
||||
Stack active_stack;
|
||||
int max_stack_use;
|
||||
uint mix_weight_offset;
|
||||
bool use_multi_closure;
|
||||
};
|
||||
|
||||
CCL_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user