question

Bas Van Bergen avatar image
Bas Van Bergen asked ·

Is there a limit of how many textures you can stack? (8?)

Hi,

I'm trying to stack a lot of textures (10) all on one mesh, this is needed as I need to control each separate texture individually. This works fine in the IPR, but as soon as I try to render this, the buckets get stuck on the particular mesh with all the textures. (renders unrealistically slow)

I've tried all kinds of workarounds

-stack individual texture tags using the alpha

-a layer color (which is limited to 8), piped into a layer shader where I combine the other textures.

-even a slightly bigger/extruded mesh with part of the textures, and the opaque in the parameters checked off

-adding a custom AOV with a 'aov_write_rgba' with part of the textures so I can comp them in later on, also get the buckets stuck...

But every time I near the 8 textures, the render hangs.

I've also played with the transparency depth and the clamp sample values. All to no avail.

Am I approaching this wrong, or is this just a technical limitation of Arnold? Is there a workaround that I haven't thought of yet?

I hope someone could help me.

All the best,

Bas

shaderstexturetransmissionlayertransparent
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Bas Van Bergen avatar image
Bas Van Bergen answered ·

Okay, it seems to be related to the texture size, Resized all my textures from 4k to 2k, which seems to fix it for now. Now I need to see what textures are good enough at that lower resolution...

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

First of all there's a limitation of stacking maximum 8 materials (texture tags) at the moment. If you need more you have to use multiple layer shaders in one material. So your method "a layer color (which is limited to 8), piped into a layer shader where I combine the other textures" should work. I just tested a render with 10 4k textures and was not really slow, so I'm not sure what's going on. Do you use tx textures (or auto tx on)? I would take a look if you can share the scene.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.