forked from bartvdbraak/blender
Fix T61502: Cycles wrong other object texture coordinates in OSL.
The row/column major matrix conversion was done twice.
This commit is contained in:
parent
3866161da8
commit
79f5b825a9
@ -3533,7 +3533,7 @@ void TextureCoordinateNode::compile(OSLCompiler& compiler)
|
||||
if(compiler.output_type() == SHADER_TYPE_VOLUME)
|
||||
compiler.parameter("is_volume", true);
|
||||
compiler.parameter(this, "use_transform");
|
||||
Transform ob_itfm = transform_transposed_inverse(ob_tfm);
|
||||
Transform ob_itfm = transform_inverse(ob_tfm);
|
||||
compiler.parameter("object_itfm", ob_itfm);
|
||||
|
||||
compiler.parameter(this, "from_dupli");
|
||||
|
Loading…
Reference in New Issue
Block a user