Cycles: add "From Dupli" option for texture coordinate node. This gets the
Generated and UV coordinates from the duplicator of instance instead of the object itself. This was used in e.g. Big Buck Bunny for texturing instanced feathers with a UV map on the bird. Many files changed, mainly to do some refactoring to get rid of G.rendering global in duplilist code.
This commit is contained in:
@@ -49,6 +49,9 @@ public:
|
||||
bool use_motion;
|
||||
bool use_holdout;
|
||||
|
||||
float3 dupli_generated;
|
||||
float2 dupli_uv;
|
||||
|
||||
int particle_id;
|
||||
|
||||
Object();
|
||||
|
Reference in New Issue
Block a user