Max Material Texture Samples?

Is there a maximum number of texture samples that can be used in a single material? I am outlining a material that can blend multiple textures and normals together for more customisation.

I did this in UDK before with good results but it was limited to a certain number of texture samples allowed in a material.

Cheers

In version 4.6 and up using DirectX 11 you can use up to 128 samplers by changing the sampler to a “Shared Sampler”. Click on the texture sample and then choose from the details panel either “Wrap” or “Clamp”. It is usually Wrap but to double check open the texture to see which format it uses.

Otherwise you are limited to 16 samplers, with some being used by the rendering engine by default. I have an ocean material that uses 10 of the default 16 without any textures present, it depends on the type of material (translucent, opaque, TLM_Surface etc.). If you are creating a mobile material it is even lower, just 6.

Thanks for the info!

That’s an amazing! Thank you for info, !