Problem with adding texture object parameters

Hi,

This is an odd question, but it is very relevant to my project. There are 14 texture object parameters that I am adding together and the material doesn’t work unless there are 13 or less connected. My main question is that the output is clamped between 0-1 so I don’t see how the number of them should make a difference.

I’ve tried it with just 14 Texture Samples and that does work, so I think it has something to do with the parameter object.

Please let me know if you have any insight!

Cheers,
Kevin

This turns out to be a limitation of 14 user texture samplers within the engine. After changing versions to 4.21, I got the error:

Error [SM5] error X4510: maximum ps_5_0 sampler register index (16) exceeded

Solution: Change texture samples to to Sampler Source: "Shared:Wrapped"