2 TextureArrays Material

Hey guys, I got another question. I am trying to use 2 different TextureArrays to manipulate the material of sphere instances. To me it seems as if one of the TextureArrays is getting ignored, when I am trying to use both of them. Furthermore the displacement attribute doesnt seem to work with TextureArrays either.

Texture Array Process (GetLatestColors):
Screenshot 2024-06-19 220219

Patch:

Renderer (displacement off):

The depth textures should only manipulate the emissive attribute, roughness and displacement of the spheres, but they seem to override the color as well…

Am I missing something? Is there a way to get this to work?

Greetings and thank you for any help, cheers guys :)

Can confirm. Most of the material features or the ShaderFX in between seem not to deal correctly with TextureArrays. Works most of the time when sampling the float value directly from the array (only Displacement doesn’t like it at all).

Maybe @tonfilm or @Elias have more insights.

TextureArrayMaterial.7z (1.3 MB)

1 Like