Skip to content

Commit

Permalink
Fix Texture plugin examples
Browse files Browse the repository at this point in the history
  • Loading branch information
njroussel committed Mar 15, 2023
1 parent 3d99c5f commit f582af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/plugin_reference/section_textures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ An example in XML looks the following:
'<parameter_name>' : {
'type': '<texture_type>':
# .. texture parameters ..
'to_uv': mi.ScalarTransform2f.scale([2, 2]) * mi.ScalarTransform2f.translate([0.5, 1.0])
'to_uv': mi.ScalarTransform3f.scale([2, 2]) * mi.ScalarTransform3f.translate([0.5, 1.0])
}

# .. non-spatially varying BSDF parameters ..
Expand Down

0 comments on commit f582af6

Please sign in to comment.