Material Override (random texture assignment)

   2112   1   1
User Avatar
Member
43 posts
Joined: March 2007
Offline
Hi all ,

I have got an issue with an expression when trying to override a baseColorMap in Material SOP.

`padzero(3,$CLASS%18+1)`.exr

I have got primitives grouped by $CLASS (primitive attribute) and textures named from 001.exr - 018.exr

The expression seems to evaluate correctly in the details view, but not when it renders (it actually only renders with the same texture without regarding its $CLASS attribute) :?

Any help will be appreciated
User Avatar
Member
43 posts
Joined: March 2007
Offline
It works now after reloading the scene…

Cheers
  • Quick Links